aboutsummaryrefslogtreecommitdiff
path: root/manifests/routestopped.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/routestopped.pp')
-rw-r--r--manifests/routestopped.pp14
1 files changed, 14 insertions, 0 deletions
diff --git a/manifests/routestopped.pp b/manifests/routestopped.pp
new file mode 100644
index 0000000..dab539c
--- /dev/null
+++ b/manifests/routestopped.pp
@@ -0,0 +1,14 @@
+define shorewall::routestopped(
+ $interface = '',
+ $host = '-',
+ $options = '',
+ $order='100'
+){
+ $real_interface = $interface ? {
+ '' => $name,
+ default => $interface,
+ }
+ shorewall::entry{"routestopped.d/${order}-${name}":
+ line => "${real_interface} ${host} ${options}",
+ }
+}