Do not put our 29.172.in-addr.arpa zone into unbound configs behind fascist firewalls, 3
authorPeter Palfrader <peter@palfrader.org>
Tue, 9 Oct 2018 18:07:04 +0000 (20:07 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 9 Oct 2018 18:07:04 +0000 (20:07 +0200)
modules/unbound/manifests/init.pp

index 79f172a..0d24653 100644 (file)
@@ -57,7 +57,7 @@ class unbound {
        }
        file { '/var/lib/unbound/29.172.in-addr.arpa.key':
                ensure  => $firewall_blocks_dns ? { true  => 'absent', default => 'present' },
-               replace => false,
+               replace => $firewall_blocks_dns ? { true  => true, default => false },
                owner   => unbound,
                group   => unbound,
                mode    => '0644',