aboutsummaryrefslogtreecommitdiff
path: root/manifests/rsync.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/rsync.pp')
-rw-r--r--manifests/rsync.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/rsync.pp b/manifests/rsync.pp
index 8e5d13e..0254333 100644
--- a/manifests/rsync.pp
+++ b/manifests/rsync.pp
@@ -1,4 +1,5 @@
define backup::rsync(
+ $when = false,
$port = '22',
$ensure = present,
$bandwidthlimit = false,
@@ -6,6 +7,7 @@ define backup::rsync(
$use_fqdn = $::fqdn
) {
backupninja::rsync { "rsync-$title.$use_domain":
+ when => $when,
# [general]
ensure => $ensure,
home => "${backup::params::backupdir}/remote/$use_fqdn",