From: Stephen Gran Date: Sun, 21 Feb 2010 03:43:31 +0000 (+0000) Subject: force into a string X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=1904444f6546cdfcebc30d2622c328ad30a1c324;p=mirror%2Fdsa-puppet.git force into a string Signed-off-by: Stephen Gran --- diff --git a/modules/named/templates/named.conf.acl.erb b/modules/named/templates/named.conf.acl.erb index 3ce482507..501ed7293 100644 --- 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 %>; };