projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04c5cdd
)
Try this
author
Peter Palfrader
<peter@palfrader.org>
Wed, 17 Apr 2013 07:15:31 +0000
(09:15 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Wed, 17 Apr 2013 07:15:31 +0000
(09:15 +0200)
modules/unbound/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/unbound/manifests/init.pp
b/modules/unbound/manifests/init.pp
index
06395fc
..
aa63a5d
100644
(file)
--- a/
modules/unbound/manifests/init.pp
+++ b/
modules/unbound/manifests/init.pp
@@
-10,6
+10,7
@@
class unbound {
$is_recursor = getfromhash($site::nodeinfo, 'misc', 'resolver-recursive')
$client_ranges = hiera('allow_dns_query')
+ $empty_client_range = empty($client_ranges)
$ns = hiera('nameservers')
package { 'unbound':
@@
-55,7
+56,7
@@
class unbound {
notify => Service['unbound']
}
- if ($is_recursor and not
empty($client_ranges)) {
+ if ($is_recursor and not
$empty_client_range) {
@ferm::rule { 'dsa-dns':
domain => 'ip',
description => 'Allow nameserver access',