projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add lotti
[mirror/dsa-puppet.git]
/
modules
/
named
/
templates
/
named.conf.options.erb
diff --git
a/modules/named/templates/named.conf.options.erb
b/modules/named/templates/named.conf.options.erb
index
a2f309e
..
3a2624a
100644
(file)
--- a/
modules/named/templates/named.conf.options.erb
+++ b/
modules/named/templates/named.conf.options.erb
@@
-8,7
+8,7
@@
acl Nagios {
str = ''
localinfo.keys.sort.each do |node|
if localinfo[node]['nagiosmaster']
str = ''
localinfo.keys.sort.each do |node|
if localinfo[node]['nagiosmaster']
- keyinfo[node][
0][
'ipHostNumber'].each do |ip|
+ keyinfo[node]['ipHostNumber'].each do |ip|
str += "\t" + ip + "/32;\n"
end
end
str += "\t" + ip + "/32;\n"
end
end
@@
-30,7
+30,7
@@
options {
<%=
allowed='Nagios; '
<%=
allowed='Nagios; '
- if classes.include?('named::
secondary
') or classes.include?('named::recursor')
+ if classes.include?('named::
authoritative
') or classes.include?('named::recursor')
allowed += 'localnets; '
end
allowed += 'localnets; '
end
@@
-40,7
+40,7
@@
options {
str
-%>
str
-%>
-<% if classes.include?('named::
secondary
') -%>
+<% if classes.include?('named::
authoritative') or classes.include?('named::geodns
') -%>
dnssec-enable yes;
dnssec-validation yes;
<% end -%>
dnssec-enable yes;
dnssec-validation yes;
<% end -%>