From 69ffd72ce9e5217ae7d205e04716c40d8c862315 Mon Sep 17 00:00:00 2001 From: Marcel Haerry Date: Wed, 16 Sep 2009 17:51:56 +0200 Subject: factored everything out in its own file --- manifests/blacklist.pp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 manifests/blacklist.pp (limited to 'manifests/blacklist.pp') 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}", + } +} -- cgit v1.2.3