aboutsummaryrefslogtreecommitdiff
path: root/manifests/rsync.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/rsync.pp')
-rw-r--r--manifests/rsync.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/rsync.pp b/manifests/rsync.pp
index 612d1af..0f730a0 100644
--- a/manifests/rsync.pp
+++ b/manifests/rsync.pp
@@ -2,7 +2,7 @@
# Based on backupninja::rdiff
define backupninja::rsync(
- $order = 90, $ensure = present, $ensure_rsync_version = 'installed',
+ $order = 90, $ensure = present,
$user = false, $home = false, $host = false,
$ssh_dir_manage = true, $ssh_dir = false, $authorized_keys_file = false,
$installuser = true, $installkey = true, $key = false, $backuptag = false,
@@ -31,7 +31,7 @@ define backupninja::rsync(
$rm = false, $cp = false, $touch = false, $mv = false, $fsck = false)
{
# install client dependencies
- ensure_resource('package', 'rsync', {'ensure' => $ensure_rsync_version})
+ ensure_resource('package', 'rsync', {'ensure' => $backupninja::client::ensure_rsync_version})
# Right now just local origin with remote destination is supported.
$from = 'local'