1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
class firewall::local(
$implementation = lookup('firewall::implementation', undef, undef, 'shorewall'),
$network = lookup('firewall::local::network', undef, undef, '192.168.1.0/24'),
$interface = lookup('firewall::local::interface', undef, undef, 'eth0'),
$manage_host = lookup('firewall::local::manage_host', undef, undef, true),
$manage_interface = lookup('firewall::local::manage_iface', undef, undef, false)
) {
class { "firewall::implementations::${implementation}::local":
network => $network,
interface => $interface,
manage_host => $manage_host,
manage_interface => $manage_interface,
}
}
|