aboutsummaryrefslogtreecommitdiff
path: root/manifests/blacklist.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/blacklist.pp')
-rw-r--r--manifests/blacklist.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/blacklist.pp b/manifests/blacklist.pp
new file mode 100644
index 0000000..3700ace
--- /dev/null
+++ b/manifests/blacklist.pp
@@ -0,0 +1,9 @@
+define shorewall::blacklist(
+ $proto = '-',
+ $port = '-',
+ $order='100'
+){
+ shorewall::entry{"blacklist.d/${order}-${name}":
+ line => "${name} ${proto} ${port}",
+ }
+}