summaryrefslogtreecommitdiff
path: root/manifests/duplicity.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/duplicity.pp')
-rw-r--r--manifests/duplicity.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/duplicity.pp b/manifests/duplicity.pp
index 99b64f8..8313eb9 100644
--- a/manifests/duplicity.pp
+++ b/manifests/duplicity.pp
@@ -39,6 +39,7 @@
# 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,
@@ -96,6 +97,9 @@ define backupninja::duplicity( $order = 90,
$createkey = false,
$installkey = true ) {
+ # install client dependencies
+ ensure_resource('package', 'duplicity', {'ensure' => $ensure_duplicity_version})
+
# the client with configs for this machine
include backupninja::client::duplicity