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 08f3e4a..06395fc 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',