From: Stephen Gran Date: Mon, 22 Feb 2010 01:26:58 +0000 (+0000) Subject: restricted ssh access to geo machines as well X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f6acab79d24552959adf54e2d1765ddb4c77dc4d;p=dsa-puppet.git restricted ssh access to geo machines as well Signed-off-by: Stephen Gran --- diff --git a/modules/ferm/templates/me.conf.erb b/modules/ferm/templates/me.conf.erb index 030d5280..2a4a1e37 100644 --- a/modules/ferm/templates/me.conf.erb +++ b/modules/ferm/templates/me.conf.erb @@ -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