Skip to content

Commit

Permalink
base: remove pdns-recursor package if dns hiera setting is set (#4177)
Browse files Browse the repository at this point in the history
  • Loading branch information
paladox authored Feb 1, 2025
1 parent 0c44236 commit 2ec4ada
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion modules/base/manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
include ssh
include users

if !lookup('dns') {
if lookup('dns') {
package { 'pdns-recursor':
ensure => absent,
}
} else {
include base::dns
}

Expand Down

0 comments on commit 2ec4ada

Please sign in to comment.