]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/ferm/templates/me.conf.erb
try it with several ips
[dsa-puppet.git] / modules / ferm / templates / me.conf.erb
index cfb8a3e27f55537da2dd7ca2961370af3be02e19..a7729e996860d9c95fd32011b333e17c21bf94f4 100644 (file)
@@ -4,9 +4,10 @@
 ##
 
 
-@def $SSH_SOURCES = <%
-ssh_allowed = case nodename
-  when 'logtest01' then '0.0.0.0/0'
+@def $SSH_SOURCES = (<%=
+sshallowed = []
+case hostname
+  when 'logtest01' then sshallowed << [ '91.103.132.25', '91.103.132.49' ]
 end
-ssh_allowed
-%>
+sshallowed.join(' ')
+%>);