From 5581d1ce1ee3ea09e6e7740f575cb19104e62c4f Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 6 Jan 2018 14:13:04 +0100 Subject: [PATCH] Allow adayevskaya to ssh trigger puppetmaster/handel --- modules/ferm/templates/me.conf.erb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/ferm/templates/me.conf.erb b/modules/ferm/templates/me.conf.erb index 21d35483b..c392a270b 100644 --- a/modules/ferm/templates/me.conf.erb +++ b/modules/ferm/templates/me.conf.erb @@ -44,6 +44,10 @@ if restrict_ssh.include?(@hostname) then ssh4allowed << %w{$HOST_DEBIAN_V4} ssh6allowed << %w{$HOST_DEBIAN_V6} end + if scope.function_has_role(['puppetmaster']) then + ssh4allowed << "5.153.231.5" # adayevskaya + ssh6allowed << "2001:41c8:1000:21::21:5" # adayevskaya + end if scope.function_has_role(['dns_primary']) then ssh4allowed << "5.153.231.5" # adayevskaya ssh6allowed << "2001:41c8:1000:21::21:5" # adayevskaya -- 2.20.1