blob: d348bf0052bc42136478e461789b5aada7433812 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
class site_shorewall::defaults {
include shorewall
# If you want logging:
shorewall::params {
'LOG': value => 'debug';
}
shorewall::zone {'net': type => 'ipv4'; }
include augeas
augeas { 'enable_ip_forwarding':
changes => 'set /files/etc/shorewall/shorewall.conf/IP_FORWARDING Yes',
lens => 'Shellvars.lns',
incl => '/etc/shorewall/shorewall.conf',
notify => Service[shorewall];
}
}
|