summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'puppet')
m---------puppet/modules/augeas0
m---------puppet/modules/shorewall0
-rw-r--r--puppet/modules/site_shorewall/manifests/defaults.pp9
3 files changed, 8 insertions, 1 deletions
diff --git a/puppet/modules/augeas b/puppet/modules/augeas
new file mode 160000
+Subproject 44e84a988b859622e7b3583ac27331cf816017e
diff --git a/puppet/modules/shorewall b/puppet/modules/shorewall
-Subproject 911cc18e594bb5a3ab642ebb24615a0447050c3
+Subproject e511291a111db7a7d88a8820c5423aa5b92304e
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];
+ }
}