From 05efcc415ed19793e10d71e95a1d412e5d2095d1 Mon Sep 17 00:00:00 2001 From: drebs Date: Mon, 13 Jul 2009 05:32:24 -0300 Subject: adding duplicity package as dependency for handler. --- manifests/dup.pp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'manifests/dup.pp') 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!") } } -- cgit v1.2.3 From 618cddaaeb0a89d3f01f359ebcb80be9d95264da Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 26 Aug 2009 22:40:24 -0300 Subject: Setting the right default value for backupkeytype --- manifests/dup.pp | 2 +- manifests/rdiff.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'manifests/dup.pp') diff --git a/manifests/dup.pp b/manifests/dup.pp index 05d4892..f12fc0f 100644 --- a/manifests/dup.pp +++ b/manifests/dup.pp @@ -75,7 +75,7 @@ define backupninja::duplicity( $order = 90, $destuser = false, # configs to backupninja client $backupkeystore = false, - $backupkeytype = false, + $backupkeytype = '', # options to backupninja server sandbox $ssh_dir_manage = true, $ssh_dir = false, diff --git a/manifests/rdiff.pp b/manifests/rdiff.pp index a8956f3..579071b 100644 --- a/manifests/rdiff.pp +++ b/manifests/rdiff.pp @@ -25,7 +25,7 @@ define backupninja::rdiff( "/home", "/usr/local/*bin", "/var/lib/dpkg/status*" ], $vsinclude = false, $keep = 30, $sshoptions = false, $options = false, $ssh_dir_manage = true, $ssh_dir = false, $authorized_keys_file = false, $installuser = true, $installkey = true, - $backuptag = false, $home = false, $backupkeytype = false) + $backuptag = false, $home = false, $backupkeytype = '') { include backupninja::client case $type { -- cgit v1.2.3