]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
fix syntax for ferm now ...
authorStephen Gran <steve@lobefin.net>
Sat, 20 Feb 2010 19:42:44 +0000 (19:42 +0000)
committerStephen Gran <steve@lobefin.net>
Sat, 20 Feb 2010 19:42:44 +0000 (19:42 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/ferm/templates/me.conf.erb

index fcf73741c7c223768a3e22b8fbc69051e8570396..5dfaca3f46d57c5dfa1ca27c733068471ab2ceac 100644 (file)
@@ -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(' ')
+%>);