summaryrefslogtreecommitdiff
path: root/manifests/stoppedrules.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/stoppedrules.pp')
-rw-r--r--manifests/stoppedrules.pp13
1 files changed, 13 insertions, 0 deletions
diff --git a/manifests/stoppedrules.pp b/manifests/stoppedrules.pp
new file mode 100644
index 0000000..2dff218
--- /dev/null
+++ b/manifests/stoppedrules.pp
@@ -0,0 +1,13 @@
+define shorewall::stoppedrules(
+ $action = 'ACCEPT',
+ $source = '-',
+ $destination = '-',
+ $proto = '-',
+ $destinationport = '-',
+ $sourceport = '-',
+ $order = '100'
+){
+ shorewall::entry{"stoppedrules-${order}-${name}":
+ line => "${action} ${source} ${destination} ${proto} ${destinationport} ${sourceport}"
+ }
+}