// USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
//
-acl Nagios {
-<%=
- roles = scope.lookupvar('site::roles')
- str = ''
- roles['nagiosmaster'].each do |node|
- scope.lookupvar('site::allnodeinfo')[node]['ipHostNumber'].each do |ip|
- str += "\t" + ip + "/32;\n"
- end
- end
- str-%>
-};
-
options {
directory "/var/cache/bind";
blackhole { 192.168.0.0/16; 10.0.0.0/8; 172.16.0.0/12; };
<% end -%>
-<%=
- allowed='Nagios; '
-
- str = "\tallow-recursion { " + allowed + " };\n"
- str += "\tallow-query { " + allowed + " };\n"
-
- str
--%>
-
dnssec-enable yes;
dnssec-validation yes;