X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fferm%2Ftemplates%2Fme.conf.erb;h=be829182f8a14dac865beb054c7dc2a05cf61713;hb=f1965deb432304e45a773ad38b832ce8fd8a7f2b;hp=3a726d642b67627f8b65b79301404db72036b14a;hpb=c5466c1241ab33ad556f1a9b5428f384962fcb6d;p=mirror%2Fdsa-puppet.git diff --git a/modules/ferm/templates/me.conf.erb b/modules/ferm/templates/me.conf.erb index 3a726d642..be829182f 100644 --- a/modules/ferm/templates/me.conf.erb +++ b/modules/ferm/templates/me.conf.erb @@ -9,7 +9,7 @@ nodeinfo = scope.lookupvar('site::nodeinfo') out = [] restricted_purposes = ['kvm host', 'central syslog server', 'puppet master', 'jumphost'] -restrict_ssh = %w{lebrun geo1 geo2 geo3 beethoven tchaikovsky schroeder draghi adayevskaya} +restrict_ssh = %w{lebrun geo1 geo2 geo3 beethoven tchaikovsky schroeder draghi adayevskaya denis} if (nodeinfo['ldap'].has_key?('purpose')) then nodeinfo['ldap']['purpose'].each do |purp| @@ -35,10 +35,6 @@ if restrict_ssh.include?(hostname) then ssh4allowed << '$HOST_DEBIAN_V4' ssh6allowed << '$HOST_DEBIAN_V6' end - if %w{unger}.include?(hostname) then - ssh4allowed << '$UNGER_SSH_ACCESS' # Ganneff - ssh6allowed << '$UNGER_SSH6_ACCESS' # Ganneff, but more address space - end if %w{adayevskaya}.include?(hostname) then ssh4allowed << %w{$HOST_MAILRELAY_V4}