]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/unbound/manifests/init.pp
Try to make manifest work with new hieradata
[dsa-puppet.git] / modules / unbound / manifests / init.pp
index caf95027dfdd493f7c1d7292340fea8a80d55e80..08f3e4acae76e24eb0acf3aac99c96ad4895cc3a 100644 (file)
@@ -55,7 +55,7 @@ class unbound {
                notify  => Service['unbound']
        }
 
-       if ($is_recursor and $client_ranges) {
+       if ($is_recursor and not $client_ranges.empty?) {
                @ferm::rule { 'dsa-dns':
                        domain      => 'ip',
                        description => 'Allow nameserver access',