summaryrefslogtreecommitdiff
path: root/manifests/params6.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/params6.pp')
-rw-r--r--manifests/params6.pp16
1 files changed, 16 insertions, 0 deletions
diff --git a/manifests/params6.pp b/manifests/params6.pp
new file mode 100644
index 0000000..2fd117c
--- /dev/null
+++ b/manifests/params6.pp
@@ -0,0 +1,16 @@
+# manage a shorewall param, only for ipv6
+# http://www.shorewall.net/manpages6/shorewall6-params.html
+define shorewall::params6(
+ $value,
+ $key = $name,
+ $order ='100',
+){
+ shorewall::params{
+ "${name}_IP6":
+ key => $key,
+ value => $value,
+ order => $order,
+ shorewall => false,
+ shorewall6 => true,
+ }
+}