1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
define firewall::router::munin(
$destination,
$port_orig,
$port_dest = '',
$zone = 'loc',
$order = '400',
$originaldest = $ipaddress
$implementation = lookup('firewall::implementation', undef, undef, 'shorewall'),
) {
if $implementation == 'shorewall' {
firewall::implementations::shorewall::router::munin { "${name}":
destination => $destination,
port_orig => $port_orig,
port_dest => $port_dest,
zone => $zone,
order => $order,
originaldest => $originaldest,
}
}
}
|