blob: e3c61fb36295f82a4f081f7a23a0ae5137428902 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
define firewall::router::tor(
$implementation = lookup('firewall::implementation', undef, undef, 'shorewall'),
$destination, $zone = 'loc', $originaldest = $ipaddress
) {
if $implementation == 'shorewall' {
firewall::implementations::shorewall::router::tor { "${name}":
destination => $destination,
zone => $zone,
originaldest => $originaldest,
}
}
}
|