From 1904444f6546cdfcebc30d2622c328ad30a1c324 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sun, 21 Feb 2010 03:43:31 +0000 Subject: [PATCH] force into a string Signed-off-by: Stephen Gran --- modules/named/templates/named.conf.acl.erb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 %>; }; -- 2.20.1