aboutsummaryrefslogtreecommitdiff
path: root/manifests/rtrules.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-01-02 19:34:31 +0100
committermh <mh@immerda.ch>2013-01-02 19:34:31 +0100
commit58103ed409fc61d8e653babb73fcaf510969f3db (patch)
tree0c022f3ff326248cc7194d3d1e5c768acfbcb399 /manifests/rtrules.pp
parent2f388687ea30fdefdcd405807a0fce699807809d (diff)
parentfaf6fba9579e285efd28f2ef96a7e3a5d4a5dd4b (diff)
downloadpuppet-shorewall-58103ed409fc61d8e653babb73fcaf510969f3db.tar.gz
puppet-shorewall-58103ed409fc61d8e653babb73fcaf510969f3db.tar.bz2
Merge remote-tracking branch 'varac/master'
Conflicts: files/boilerplate/providers.footer files/boilerplate/providers.header manifests/base.pp manifests/providers.pp
Diffstat (limited to 'manifests/rtrules.pp')
-rw-r--r--manifests/rtrules.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/rtrules.pp b/manifests/rtrules.pp
new file mode 100644
index 0000000..34e12b4
--- /dev/null
+++ b/manifests/rtrules.pp
@@ -0,0 +1,11 @@
+define shorewall::rtrules(
+ $source = '-',
+ $destination = '-',
+ $provider,
+ $priority = '10000',
+ $mark,
+){
+ shorewall::entry { "rtrules.d/${mark}-${title}":
+ line => "# ${name}\n${source} ${destination} ${provider} ${priority} ${mark}",
+ }
+}