From f6acab79d24552959adf54e2d1765ddb4c77dc4d Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Mon, 22 Feb 2010 01:26:58 +0000 Subject: [PATCH] restricted ssh access to geo machines as well Signed-off-by: Stephen Gran --- modules/ferm/templates/me.conf.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2