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:
251eaef
)
force into a string
author
Stephen Gran
<steve@lobefin.net>
Sun, 21 Feb 2010 03:43:31 +0000
(
03:43
+0000)
committer
Stephen Gran
<steve@lobefin.net>
Sun, 21 Feb 2010 03:43:31 +0000
(
03:43
+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
3ce4825
..
501ed72
100644
(file)
--- a/
modules/named/templates/named.conf.acl.erb
+++ b/
modules/named/templates/named.conf.acl.erb
@@
-11,8
+11,11
@@
acl Nagios {
nagii << keyinfo[node][0]['ipHostNumber'] + '/32'
end
end
-
- nagii.join(";\n\t")
+ str = ''
+ nagii.each do |nag|
+ str += "\t" + nag + "/32;\n"
+ end
+ str
%>;
};