From: Peter Palfrader Date: Wed, 11 Sep 2019 08:22:56 +0000 (+0200) Subject: restrict ssh to static-master-grnet-01 by default. we really should move this config... X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=5925b1e6166943117456ab1613fa5dc016c97840;p=mirror%2Fdsa-puppet.git restrict ssh to static-master-grnet-01 by default. we really should move this config out of the template --- diff --git a/modules/ferm/templates/me.conf.erb b/modules/ferm/templates/me.conf.erb index e1a581738..f82aa46e2 100644 --- a/modules/ferm/templates/me.conf.erb +++ b/modules/ferm/templates/me.conf.erb @@ -8,7 +8,7 @@ nodeinfo = scope.lookupvar('site::nodeinfo') out = [] restricted_purposes = ['kvm host', 'ganeti/kvm host', 'central syslog server', 'puppet master', 'jumphost', 'buildd', 'static-mirror', 'anycast mirror'] -restrict_ssh = %w{tchaikovsky draghi adayevskaya} +restrict_ssh = %w{tchaikovsky draghi adayevskaya static-master-grnet-01} if (nodeinfo['ldap'].has_key?('purpose')) then nodeinfo['ldap']['purpose'].each do |purp|