aboutsummaryrefslogtreecommitdiff
path: root/manifests/providers.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/providers.pp')
-rw-r--r--manifests/providers.pp16
1 files changed, 16 insertions, 0 deletions
diff --git a/manifests/providers.pp b/manifests/providers.pp
new file mode 100644
index 0000000..860363e
--- /dev/null
+++ b/manifests/providers.pp
@@ -0,0 +1,16 @@
+define shorewall::providers(
+ $provider,
+ $number = '',
+ $mark = '',
+ $duplicate = 'main',
+ $interface = '',
+ $gateway = '',
+ $options = '',
+ $copy = '',
+ $order='100'
+){
+ shorewall::entry{"providers.d/${order}-${name}":
+ line => "# ${name}\n${provider} ${number} ${mark} ${duplicate} ${interface} ${gateway} ${options} ${copy}"
+ }
+}
+