]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/ferm/templates/me.conf.erb
remove unger
[dsa-puppet.git] / modules / ferm / templates / me.conf.erb
index 94562a5a778a64d87c69aed671873f8ae579e6d1..fcd13013f59f92cc818702a426ac803bf128ffe1 100644 (file)
@@ -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}
+restrict_ssh = %w{lebrun geo1 geo2 geo3 beethoven tchaikovsky schroeder draghi adayevskaya}
 
 if (nodeinfo['ldap'].has_key?('purpose')) then
        nodeinfo['ldap']['purpose'].each do |purp|
@@ -35,9 +35,10 @@ 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
+
+       if %w{adayevskaya}.include?(hostname) then
+               ssh4allowed << %w{$HOST_MAILRELAY_V4}
+               ssh6allowed << %w{$HOST_MAILRELAY_V6}
        end
 
        if nodeinfo['static_master'] then