blob: d5f60ec6a11e6177de5f0083134863b2719239e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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],
require => Class[augeas];
}
}
|