blob: ab9799bee5337627d29d97415181d9724b995dc6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Shorewall munin rules
class custom_shorewall::munin_node {
include site_shorewall::defaults
include site_shorewall::ip_forward
$node_port = '4949'
# define macro for incoming services
file { '/etc/shorewall/macro.munin_node':
content => "PARAM - - tcp ${node_port} ",
notify => Service['shorewall'],
require => Package['shorewall']
}
shorewall::rule {
'net2fw-munin_node':
source => 'net',
destination => '$FW',
action => 'munin_node(ACCEPT)',
order => 200;
}
}
|