diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-06-06 14:30:09 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-06-06 14:30:09 -0300 |
commit | 7a7c62ba1c843fe47c75b252ecda04bd9ba6db7c (patch) | |
tree | 3b28b2564dda749a6cb8f4f484934ee9b1e33d0e | |
parent | 77e37b29cdb219f297e7b951515fd9eba28b70ea (diff) | |
download | puppet-backup-7a7c62ba1c843fe47c75b252ecda04bd9ba6db7c.tar.gz puppet-backup-7a7c62ba1c843fe47c75b252ecda04bd9ba6db7c.tar.bz2 |
Adds when param into backup::rsync
-rw-r--r-- | manifests/rsync.pp | 2 |
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", |