aboutsummaryrefslogtreecommitdiff
path: root/manifests/duplicity.pp
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-03-27 17:35:21 -0400
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-04-17 17:12:16 -0400
commit87ddb3e4260b47f0fc99f84d1818145af5be3e36 (patch)
tree971f5a80f2a3e8bf0420498a8536be08260aae32 /manifests/duplicity.pp
parente0e5f239e3ef407fa0ad8c6f0f350c64d33ccc85 (diff)
downloadpuppet-backupninja-87ddb3e4260b47f0fc99f84d1818145af5be3e36.tar.gz
puppet-backupninja-87ddb3e4260b47f0fc99f84d1818145af5be3e36.tar.bz2
move ensure_* package dependency parameters to backupninja::client
Diffstat (limited to 'manifests/duplicity.pp')
-rw-r--r--manifests/duplicity.pp3
1 files changed, 1 insertions, 2 deletions
diff --git a/manifests/duplicity.pp b/manifests/duplicity.pp
index fa68324..8c48793 100644
--- a/manifests/duplicity.pp
+++ b/manifests/duplicity.pp
@@ -39,7 +39,6 @@
# testing debian repositories by the time of this writing.
define backupninja::duplicity( $order = 90,
$ensure = present,
- $ensure_duplicity_version = 'installed',
# options to the config file
$options = false,
$nicelevel = false,
@@ -98,7 +97,7 @@ define backupninja::duplicity( $order = 90,
$installkey = true ) {
# install client dependencies
- ensure_resource('package', 'duplicity', {'ensure' => $ensure_duplicity_version})
+ ensure_resource('package', 'duplicity', {'ensure' => $backupninja::client::ensure_duplicity_version})
case $desthost { false: { err("need to define a destination host for remote backups!") } }
case $destdir { false: { err("need to define a destination directory for remote backups!") } }