]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
fail open
authorStephen Gran <steve@lobefin.net>
Sat, 20 Feb 2010 20:05:27 +0000 (20:05 +0000)
committerStephen Gran <steve@lobefin.net>
Sat, 20 Feb 2010 20:05:27 +0000 (20:05 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/ferm/templates/me.conf.erb

index a7729e996860d9c95fd32011b333e17c21bf94f4..085704bbbb3e3d91b6b6febfcdebe544a142bcc6 100644 (file)
@@ -5,9 +5,16 @@
 
 
 @def $SSH_SOURCES = (<%=
+
 sshallowed = []
+
 case hostname
   when 'logtest01' then sshallowed << [ '91.103.132.25', '91.103.132.49' ]
 end
+
+if sshallowed.length == 0
+  sshallowed << '0.0.0.0'
+end
+
 sshallowed.join(' ')
 %>);