aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authordystopic <dystopic@espiv.net>2015-04-05 12:08:39 +0300
committerdystopic <dystopic@espiv.net>2015-04-05 12:08:39 +0300
commit568b1d68d9bc94791e37aff3a6658643c6590adb (patch)
treef5ef3fb69be733d55da16658932a17c7d665f92d /manifests
parenta9e4f0b5a75796c56c5cfedc8c0bffc0c386e3bc (diff)
downloadpuppet-backupninja-568b1d68d9bc94791e37aff3a6658643c6590adb.tar.gz
puppet-backupninja-568b1d68d9bc94791e37aff3a6658643c6590adb.tar.bz2
Add features for duplicity type backup
Add support for increments,keepincroffulls,desturl Include proper backupninja::client:: class (as does rsync)
Diffstat (limited to 'manifests')
-rw-r--r--manifests/dup.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/dup.pp b/manifests/dup.pp
index 5ffce29..99b64f8 100644
--- a/manifests/dup.pp
+++ b/manifests/dup.pp
@@ -71,12 +71,15 @@ define backupninja::duplicity( $order = 90,
$vsinclude = false,
# [dest]
$incremental = "yes",
+ $increments = false,
$keep = false,
+ $keepincroffulls = false,
$bandwidthlimit = false,
$sshoptions = false,
$destdir = false,
$desthost = false,
$destuser = false,
+ $desturl = false,
# configs to backupninja client
$backupkeystore = false,
$backupkeystorefspath = '',
@@ -94,7 +97,7 @@ define backupninja::duplicity( $order = 90,
$installkey = true ) {
# the client with configs for this machine
- include backupninja::client::defaults
+ include backupninja::client::duplicity
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!") } }