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
6 @def &SERVICE($proto, $port) = {
7 proto $proto mod state state (NEW) dport $port ACCEPT;
10 @def &SERVICE_RANGE($proto, $port, $srange) = {
11 proto $proto mod state state (NEW) dport $port saddr ($srange) ACCEPT;
14 @def &TCP_UDP_SERVICE($port) = {
15 proto (tcp udp) mod state state (NEW) dport $port ACCEPT;
18 @def $HOST_NAGIOS = (<%=
20 localinfo.keys.sort.each do |node|
21 if localinfo[node]['nagiosmaster'] == "true"
22 nagii << keyinfo[node][0]['ipHostNumber']
29 @def $HOST_MUNIN = (<%=
31 localinfo.keys.sort.each do |node|
32 if localinfo[node]['muninmaster'] == "true"
33 munins << keyinfo[node][0]['ipHostNumber']
40 @def $sgran = (91.103.132.24/29);
42 @def $weasel = ($weasel 86.59.118.144/28); # debian@sil
43 @def $weasel = ($weasel 86.59.21.32/29); # anguilla1
44 @def $weasel = ($weasel 86.59.30.32/28); # anguilla2
45 @def $weasel = ($weasel 141.201.27.0/24); # came
46 @def $weasel = ($weasel 62.99.152.178); # argos.campus-sbg
49 @def $DSA_IPS = ($sgran $weasel $zobel $luca);
51 @def $sgran6 = (2001:4b10:100b::/48);
53 @def $weasel6 = ($weasel6 2001:826:408:200::/56); # came
54 @def $weasel6 = ($weasel6 2001:858:10f::/48); # anguilla
57 @def $DSA_V6_IPS = ($sgran6 $weasel6 $zobel6 $luca6);