aboutsummaryrefslogtreecommitdiff
path: root/manifests/rules/out/ibackup.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-10-03 16:41:35 +0200
committerMicah Anderson <micah@riseup.net>2009-12-07 11:34:35 -0500
commit1ad09632d56cec032a1884b295ce2ab511252557 (patch)
tree9938cb789afb5ff2b950819f88205fdb23ff4aa8 /manifests/rules/out/ibackup.pp
parent210c761331a33265c64a534a8a143ec8f2b16235 (diff)
downloadpuppet-shorewall-1ad09632d56cec032a1884b295ce2ab511252557.tar.gz
puppet-shorewall-1ad09632d56cec032a1884b295ce2ab511252557.tar.bz2
add ibackup rule
Diffstat (limited to 'manifests/rules/out/ibackup.pp')
-rw-r--r--manifests/rules/out/ibackup.pp13
1 files changed, 13 insertions, 0 deletions
diff --git a/manifests/rules/out/ibackup.pp b/manifests/rules/out/ibackup.pp
new file mode 100644
index 0000000..ec12c8b
--- /dev/null
+++ b/manifests/rules/out/ibackup.pp
@@ -0,0 +1,13 @@
+class shorewall::rules::out::ibackup {
+ case $shorewall_ibackup_host {
+ '': { fail("You need to define \$shorewall_ibackup_host for ${fqdn}") }
+ }
+ shorewall::rule { 'me-net-tcp_backupssh':
+ source => '$FW',
+ destination => "net:${shorewall_ibackup_host}",
+ proto => 'tcp',
+ destinationport => 'ssh',
+ order => 240,
+ action => 'ACCEPT';
+ }
+}