]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Try this
authorPeter Palfrader <peter@palfrader.org>
Wed, 17 Apr 2013 07:14:29 +0000 (09:14 +0200)
committerPeter Palfrader <peter@palfrader.org>
Wed, 17 Apr 2013 07:14:29 +0000 (09:14 +0200)
modules/unbound/manifests/init.pp

index 08f3e4acae76e24eb0acf3aac99c96ad4895cc3a..06395fc9c20c433078496318b4f1dedb1720a414 100644 (file)
@@ -55,7 +55,7 @@ class unbound {
                notify  => Service['unbound']
        }
 
-       if ($is_recursor and not $client_ranges.empty?) {
+       if ($is_recursor and not empty($client_ranges)) {
                @ferm::rule { 'dsa-dns':
                        domain      => 'ip',
                        description => 'Allow nameserver access',