summaryrefslogtreecommitdiff
path: root/manifests/rules/out/ibackup.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2018-01-13 11:13:23 -0500
committerMicah Anderson <micah@riseup.net>2018-01-13 11:13:23 -0500
commit4cf7030c0c1f9977d297d502f736029e57e36d40 (patch)
treec2219300400d0a455e8e0aba0df19c83a6de8121 /manifests/rules/out/ibackup.pp
parent7332777829c19a63ce3d9bc50a2ddd40b940743a (diff)
parentfab57483f46bab58275063081c5e4e6f7db9d2ab (diff)
Merge remote-tracking branch 'immerda/master' into immerda_merge
Diffstat (limited to 'manifests/rules/out/ibackup.pp')
-rw-r--r--manifests/rules/out/ibackup.pp8
1 files changed, 6 insertions, 2 deletions
diff --git a/manifests/rules/out/ibackup.pp b/manifests/rules/out/ibackup.pp
index 856bcdb..17cc314 100644
--- a/manifests/rules/out/ibackup.pp
+++ b/manifests/rules/out/ibackup.pp
@@ -1,5 +1,7 @@
class shorewall::rules::out::ibackup(
- $backup_host
+ $backup_host,
+ $shorewall = true,
+ $shorewall6 = false,
){
shorewall::rule { 'me-net-tcp_backupssh':
source => '$FW',
@@ -7,6 +9,8 @@ class shorewall::rules::out::ibackup(
proto => 'tcp',
destinationport => 'ssh',
order => 240,
- action => 'ACCEPT';
+ action => 'ACCEPT',
+ shorewall => $shorewall,
+ shorewall6 => $shorewall6,
}
}