]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
restricted ssh access to geo machines as well
authorStephen Gran <steve@lobefin.net>
Mon, 22 Feb 2010 01:26:58 +0000 (01:26 +0000)
committerStephen Gran <steve@lobefin.net>
Mon, 22 Feb 2010 01:26:58 +0000 (01:26 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/ferm/templates/me.conf.erb

index 030d5280c3a3cdb821b35bef8d6fa15d2b5b9464..2a4a1e379848a66bd5bbaf39792afed89ac45e77 100644 (file)
@@ -9,7 +9,7 @@
 sshallowed = []
 
 case hostname
-  when 'logtest01', 'geo1' then sshallowed << [ '$DSA_IPS', '$HOST_NAGIOS_V4', '$HOST_DB_V4' ]
+  when 'logtest01', 'geo1', 'geo2', 'geo3' then sshallowed << [ '$DSA_IPS', '$HOST_NAGIOS_V4', '$HOST_DB_V4' ]
 end
 
 if sshallowed.length == 0
@@ -24,7 +24,7 @@ sshallowed.join(' ')
 sshallowed = []
 
 case hostname
-  when 'logtest01', 'geo1' then sshallowed << [ '$DSA_V6_IPS', '$HOST_NAGIOS_V6', '$HOST_DB_V6' ]
+  when 'logtest01', 'geo1', 'geo2', 'geo3' then sshallowed << [ '$DSA_V6_IPS', '$HOST_NAGIOS_V6', '$HOST_DB_V6' ]
 end
 
 if sshallowed.length == 0