fail open
[mirror/dsa-puppet.git] / modules / ferm / templates / me.conf.erb
index fcf7374..085704b 100644 (file)
@@ -4,9 +4,17 @@
 ##
 
 
-@def $SSH_SOURCES = <%=
-sshallowed = case hostname
-  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
-sshallowed
-%>
+
+if sshallowed.length == 0
+  sshallowed << '0.0.0.0'
+end
+
+sshallowed.join(' ')
+%>);