projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more bacula mail, but to bacula-reports@d.o
[mirror/dsa-puppet.git]
/
modules
/
unbound
/
templates
/
unbound.conf.erb
diff --git
a/modules/unbound/templates/unbound.conf.erb
b/modules/unbound/templates/unbound.conf.erb
index
c11df43
..
d909f74
100644
(file)
--- a/
modules/unbound/templates/unbound.conf.erb
+++ b/
modules/unbound/templates/unbound.conf.erb
@@
-20,7
+20,7
@@
server:
out << " access-control: ::0/0 refuse"
out << " access-control: ::1 allow"
out << " access-control: ::ffff:127.0.0.1 allow"
out << " access-control: ::0/0 refuse"
out << " access-control: ::1 allow"
out << " access-control: ::ffff:127.0.0.1 allow"
-
nodeinfo
['hoster']['allow_dns_query'].each do |net|
+
scope.lookupvar('site::nodeinfo')
['hoster']['allow_dns_query'].each do |net|
out << " access-control: #{net} allow"
end
end
out << " access-control: #{net} allow"
end
end