aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2009-07-13 05:32:24 -0300
committerdrebs <drebs@riseup.net>2009-07-13 05:32:24 -0300
commit05efcc415ed19793e10d71e95a1d412e5d2095d1 (patch)
tree6c49e38a33b9a8c793303029f024147d63f8fb6e /manifests
parent73c59d37ff9f35abf4307fd243e4ed5ec9e78d97 (diff)
downloadpuppet-backupninja-05efcc415ed19793e10d71e95a1d412e5d2095d1.tar.gz
puppet-backupninja-05efcc415ed19793e10d71e95a1d412e5d2095d1.tar.bz2
adding duplicity package as dependency for handler.
Diffstat (limited to 'manifests')
-rw-r--r--manifests/dup.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/dup.pp b/manifests/dup.pp
index 170e53a..05d4892 100644
--- a/manifests/dup.pp
+++ b/manifests/dup.pp
@@ -84,6 +84,10 @@ define backupninja::duplicity( $order = 90,
$backuptag = false,
# key options
$installkey = true ) {
+ # needed packages
+ package { "duplicity": ensure => installed }
+
+ # the client with configs for this machine
include backupninja::client
case $host { false: { err("need to define a host for remote backups!") } }