summaryrefslogtreecommitdiff
path: root/manifests/forwarding.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-12-15 18:00:58 -0200
committerSilvio Rhatto <rhatto@riseup.net>2014-12-15 18:00:58 -0200
commitb0aaa689982edef19b349bd85350713f8b7108c2 (patch)
tree8adf9787881644123db4bbe8d0c01a92dbd835a6 /manifests/forwarding.pp
parent2c0b265d9f83af0ce00e47cb799137477efb0006 (diff)
downloadpuppet-firewall-b0aaa689982edef19b349bd85350713f8b7108c2.tar.gz
puppet-firewall-b0aaa689982edef19b349bd85350713f8b7108c2.tar.bz2
Docker and forwarding classes
Diffstat (limited to 'manifests/forwarding.pp')
-rw-r--r--manifests/forwarding.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/forwarding.pp b/manifests/forwarding.pp
new file mode 100644
index 0000000..603fcc6
--- /dev/null
+++ b/manifests/forwarding.pp
@@ -0,0 +1,8 @@
+class firewall::forwarding {
+ augeas { 'ip_forwarding':
+ changes => 'set /files/etc/shorewall/shorewall.conf/IP_FORWARDING On',
+ lens => 'Shellvars.lns',
+ incl => '/etc/shorewall/shorewall.conf',
+ notify => Service[shorewall];
+ }
+}