From 1ad09632d56cec032a1884b295ce2ab511252557 Mon Sep 17 00:00:00 2001 From: mh Date: Sat, 3 Oct 2009 16:41:35 +0200 Subject: add ibackup rule --- manifests/rules/out/ibackup.pp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 manifests/rules/out/ibackup.pp 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'; + } +} -- cgit v1.2.3