Try to make manifest work with new hieradata
[mirror/dsa-puppet.git] / modules / unbound / manifests / init.pp
index caf9502..08f3e4a 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',