blob: cbe8cce730f971c97395ce6bb51f19f57ec974b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
class shorewall::rules::out::puppet(
$puppetserver = "puppet.${::domain}",
$puppetserver_port = 8140,
$puppetserver_signport = 8141
) {
class{'shorewall::rules::puppet':
puppetserver => $puppetserver,
puppetserver_port => $puppetserver_port,
puppetserver_signport => $puppetserver_signport,
}
# we want to connect to the puppet server
shorewall::rule { 'me-net-puppet_tcp':
source => '$FW',
destination => 'net:$PUPPETSERVER',
proto => 'tcp',
destinationport => '$PUPPETSERVER_PORT,$PUPPETSERVER_SIGN_PORT',
order => 340,
action => 'ACCEPT';
}
}
|