summaryrefslogtreecommitdiff
path: root/manifests/forwarding.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/forwarding.pp')
-rw-r--r--manifests/forwarding.pp11
1 files changed, 4 insertions, 7 deletions
diff --git a/manifests/forwarding.pp b/manifests/forwarding.pp
index 603fcc6..f14fa70 100644
--- a/manifests/forwarding.pp
+++ b/manifests/forwarding.pp
@@ -1,8 +1,5 @@
-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];
- }
+class firewall::forwarding(
+ $implementation = lookup('firewall::implementation', undef, undef, 'shorewall'),
+) {
+ class { "firewall::implementations::${implementation}::forwarding": }
}