]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Allow ssh from mail relays to adayevskaya
authorTollef Fog Heen <tfheen@err.no>
Tue, 10 Sep 2013 20:17:10 +0000 (22:17 +0200)
committerTollef Fog Heen <tfheen@err.no>
Tue, 10 Sep 2013 20:17:10 +0000 (22:17 +0200)
modules/ferm/templates/me.conf.erb

index 73c0809ee51d1935f3c24c2bbe46f72107977b2e..3a726d642b67627f8b65b79301404db72036b14a 100644 (file)
@@ -40,6 +40,11 @@ if restrict_ssh.include?(hostname) then
                ssh6allowed << '$UNGER_SSH6_ACCESS' # Ganneff, but more address space
        end
 
+       if %w{adayevskaya}.include?(hostname) then
+               ssh4allowed << %w{$HOST_MAILRELAY_V4}
+               ssh6allowed << %w{$HOST_MAILRELAY_V6}
+       end
+
        if nodeinfo['static_master'] then
                ssh4allowed << '$HOST_STATIC_V4'
                ssh6allowed << '$HOST_STATIC_V6'