From: Stephen Gran Date: Sat, 20 Feb 2010 19:42:44 +0000 (+0000) Subject: fix syntax for ferm now ... X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=55da564501d8f0708cdebee93fae91b2f7e00d3a;p=dsa-puppet.git fix syntax for ferm now ... Signed-off-by: Stephen Gran --- diff --git a/modules/ferm/templates/me.conf.erb b/modules/ferm/templates/me.conf.erb index fcf73741..5dfaca3f 100644 --- a/modules/ferm/templates/me.conf.erb +++ b/modules/ferm/templates/me.conf.erb @@ -4,9 +4,10 @@ ## -@def $SSH_SOURCES = <%= -sshallowed = case hostname - when 'logtest01' then '0.0.0.0/0' +@def $SSH_SOURCES = (<%= +sshallowed = [] +case hostname + when 'logtest01' then sshallowed << '0.0.0.0/0' end -sshallowed -%> +sshallowed.join(' ') +%>);