]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/ferm/templates/me.conf.erb
unrestrict geo2,3
[dsa-puppet.git] / modules / ferm / templates / me.conf.erb
1 ##
2 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
4 ##
5
6
7 @def $SSH_SOURCES = (<%=
8
9 sshallowed = []
10
11 case hostname
12   when 'logtest01', 'geo1', then sshallowed << [ '$DSA_IPS', '$HOST_NAGIOS_V4', '$HOST_DB_V4' ]
13 end
14
15 if sshallowed.length == 0
16   sshallowed = [ '0.0.0.0/0' ]
17 end
18
19 sshallowed.join(' ')
20 %>);
21
22 @def $SSH_V6_SOURCES = (<%=
23
24 sshallowed = []
25
26 case hostname
27   when 'logtest01', 'geo1', 'geo2', 'geo3' then sshallowed << [ '$DSA_V6_IPS', '$HOST_NAGIOS_V6', '$HOST_DB_V6' ]
28 end
29
30 if sshallowed.length == 0
31   sshallowed = [ '::' ]
32 end
33
34 sshallowed.join(' ')
35 %>);