diff options
author | varac <varacanero@zeromail.org> | 2012-12-14 13:16:30 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2012-12-14 13:16:30 +0100 |
commit | b37f6e28a42304cabc87431d48c15a46cf9b0444 (patch) | |
tree | 8975829b75bdfde48bac4485e25eb1c39f2e5987 /puppet/modules/site_shorewall | |
parent | 063f3329cb6ff5769ea4667516d2f8c63cd236b6 (diff) | |
parent | 221976d2814009710b1a392a451fc4684004c971 (diff) |
Merge branch 'feature/openvpn_ip_forward' into develop
Diffstat (limited to 'puppet/modules/site_shorewall')
-rw-r--r-- | puppet/modules/site_shorewall/manifests/defaults.pp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/puppet/modules/site_shorewall/manifests/defaults.pp b/puppet/modules/site_shorewall/manifests/defaults.pp index 88981e5f..d348bf00 100644 --- a/puppet/modules/site_shorewall/manifests/defaults.pp +++ b/puppet/modules/site_shorewall/manifests/defaults.pp @@ -8,6 +8,13 @@ class site_shorewall::defaults { shorewall::zone {'net': type => 'ipv4'; } - shorewall::rule_section { 'NEW': order => 10; } + 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]; + } } |