X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Funbound%2Fmanifests%2Finit.pp;fp=modules%2Funbound%2Fmanifests%2Finit.pp;h=08f3e4acae76e24eb0acf3aac99c96ad4895cc3a;hb=e05673fceab5b68e33fb5ed4661ede6217fb919e;hp=caf95027dfdd493f7c1d7292340fea8a80d55e80;hpb=fcf8c592a5bfdd886af67d15bc832db4c45e4c71;p=dsa-puppet.git diff --git a/modules/unbound/manifests/init.pp b/modules/unbound/manifests/init.pp index caf95027..08f3e4ac 100644 --- a/modules/unbound/manifests/init.pp +++ b/modules/unbound/manifests/init.pp @@ -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',