diff options
author | Marcel Haerry <haerry@puzzle.ch> | 2009-09-16 17:51:56 +0200 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2009-12-07 11:33:26 -0500 |
commit | 69ffd72ce9e5217ae7d205e04716c40d8c862315 (patch) | |
tree | 36dfb4eb635bd065396b6a4595df217a2d9c1a3b /manifests/blacklist.pp | |
parent | e972b9abde01a6d89579e20fe4b038c7cbfe0c45 (diff) | |
download | puppet-shorewall-69ffd72ce9e5217ae7d205e04716c40d8c862315.tar.gz puppet-shorewall-69ffd72ce9e5217ae7d205e04716c40d8c862315.tar.bz2 |
factored everything out in its own file
Diffstat (limited to 'manifests/blacklist.pp')
-rw-r--r-- | manifests/blacklist.pp | 9 |
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}", + } +} |