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
7 @def $SSH_SOURCES = (<%=
12 when 'logtest01', 'geo1', 'geo2', 'geo3', 'bartok', 'beethoven' then sshallowed << [ '$DSA_IPS', '$HOST_NAGIOS_V4', '$HOST_DB_V4' ]
16 when 'bartok', 'beethoven' then sshallowed << '$HOST_DEBIAN_V4'
19 if sshallowed.length == 0
20 sshallowed = [ '0.0.0.0/0' ]
26 @def $SSH_V6_SOURCES = (<%=
31 when 'logtest01', 'geo1', 'geo2', 'geo3', 'bartok', 'beethoven' then sshallowed << [ '$DSA_V6_IPS', '$HOST_NAGIOS_V6', '$HOST_DB_V6' ]
35 when 'bartok', 'beethoven' then sshallowed << '$HOST_DEBIAN_V6'
38 if sshallowed.length == 0
45 def $SMTP_SOURCES =(<%=
49 if not nodeinfo['smarthost'].empty?
50 smtpallowed = [ '$HOST_MAILRELAY_V4', '$HOST_NAGIOS_V4' ]
53 if smtpallowed.length == 0
54 smtpallowed = [ '0.0.0.0/0' ]
60 def $SMTP_V6_SOURCES =(<%=
64 if not nodeinfo['smarthost'].empty?
65 smtpallowed = [ '$HOST_MAILRELAY_V6', '$HOST_NAGIOS_V6' ]
68 if smtpallowed.length == 0
69 smtpallowed = [ '::' ]