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
10 out = '@def $CARNET = ( 193.198.184.8/29 161.53.160.133 161.53.160.90 161.53.11.222 161.53.12.134 161.53.12.142 161.53.12.143 );'
15 @def $SSH_SOURCES = (<%=
20 when 'logtest01', 'geo1', 'geo2', 'geo3', 'bartok', 'beethoven', 'tchaikovsky' then sshallowed << [ '$DSA_IPS', '$HOST_NAGIOS_V4', '$HOST_DB_V4' ]
21 when 'schroeder' then sshallowed << [ '$DSA_IPS', '$HOST_NAGIOS_V4', '$HOST_DB_V4', '$CARNET' ]
25 when 'bartok', 'beethoven' then sshallowed << '$HOST_DEBIAN_V4'
28 if sshallowed.length == 0
29 sshallowed = [ '0.0.0.0/0' ]
35 @def $SSH_V6_SOURCES = (<%=
40 when 'logtest01', 'geo1', 'geo2', 'geo3', 'bartok', 'beethoven', 'schroeder', 'tchaikovsky' then sshallowed << [ '$DSA_V6_IPS', '$HOST_NAGIOS_V6', '$HOST_DB_V6' ]
44 when 'bartok', 'beethoven' then sshallowed << '$HOST_DEBIAN_V6'
47 if sshallowed.length == 0
54 def $SMTP_SOURCES =(<%=
58 if not nodeinfo['smarthost'].empty?
59 smtpallowed = [ '$HOST_MAILRELAY_V4', '$HOST_NAGIOS_V4' ]
62 if smtpallowed.length == 0
63 smtpallowed = [ '0.0.0.0/0' ]
69 def $SMTP_V6_SOURCES =(<%=
73 if not nodeinfo['smarthost'].empty?
74 smtpallowed = [ '$HOST_MAILRELAY_V6', '$HOST_NAGIOS_V6' ]
77 if smtpallowed.length == 0
78 smtpallowed = [ '::' ]