summaryrefslogtreecommitdiff
path: root/manifests/tcdevices.pp
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-10-17 04:45:09 +0200
committerintrigeri <intrigeri@boum.org>2010-10-17 04:45:09 +0200
commitf79bf97ec82e8adcf002ca6834b0df66f28e61f2 (patch)
tree3b8258b0736051e1c641a58c06b96d716e0d4889 /manifests/tcdevices.pp
parentf9c1086afb6c343fe65e989413acb80cb7d5cb86 (diff)
parentc49625a4cd14a53d91b7d12aea88201a211a26a2 (diff)
Merge remote branch 'riseup/master'
Conflicts: files/debian/default manifests/init.pp templates/debian/default templates/debian_default.erb
Diffstat (limited to 'manifests/tcdevices.pp')
-rw-r--r--manifests/tcdevices.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/tcdevices.pp b/manifests/tcdevices.pp
new file mode 100644
index 0000000..54c9665
--- /dev/null
+++ b/manifests/tcdevices.pp
@@ -0,0 +1,11 @@
+define shorewall::tcdevices(
+ $in_bandwidth,
+ $out_bandwidth,
+ $options = '',
+ $redirected_interfaces = '',
+ $order = '100'
+){
+ shorewall::entry { "tcdevices.d/${order}-${title}":
+ line => "${name} ${in_bandwidth} ${out_bandwidth} ${options} ${redirected_interfaces}",
+ }
+}