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:
2af7e96
)
right, this is an array
author
Stephen Gran
<steve@lobefin.net>
Sun, 21 Feb 2010 03:50:22 +0000
(
03:50
+0000)
committer
Stephen Gran
<steve@lobefin.net>
Sun, 21 Feb 2010 03:50:22 +0000
(
03:50
+0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/named/templates/named.conf.acl.erb
patch
|
blob
|
history
diff --git
a/modules/named/templates/named.conf.acl.erb
b/modules/named/templates/named.conf.acl.erb
index
9d13352
..
2d15be2
100644
(file)
--- a/
modules/named/templates/named.conf.acl.erb
+++ b/
modules/named/templates/named.conf.acl.erb
@@
-8,7
+8,9
@@
acl Nagios {
str = ''
localinfo.keys.sort.each do |node|
if localinfo[node]['nagiosmaster']
- str += "\t" + keyinfo[node][0]['ipHostNumber'] + "/32;\n"
+ keyinfo[node][0]['ipHostNumber'].each do |ip|
+ str += "\t" + ip + "/32;\n"
+ end
end
end
str