force into a string
authorStephen Gran <steve@lobefin.net>
Sun, 21 Feb 2010 03:43:31 +0000 (03:43 +0000)
committerStephen 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

index 3ce4825..501ed72 100644 (file)
@@ -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
 %>;
 
 };