aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp2
-rw-r--r--templates/dup.conf.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index ef079b0..74691c6 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -97,7 +97,7 @@ class backup {
# check backups once a week
cron { "duplicity_check--$title.$domain":
- command => "/bin/bash ${backupninja::client::defaults::configdir}/${order}_duplicity-${title}.sh --check"
+ command => "/bin/bash ${backupninja::client::defaults::configdir}/${order}_duplicity-${title}.sh --check",
user => root,
hour => "0",
minute => "0",
diff --git a/templates/dup.conf.erb b/templates/dup.conf.erb
index d35e0e2..9070bac 100644
--- a/templates/dup.conf.erb
+++ b/templates/dup.conf.erb
@@ -26,7 +26,7 @@ mkdir -p $TMP
export PASSPHRASE="<%= password %>"
# adds support for checking the existing backup
-if [ "$1" == "--check"]; then
+if [ "$1" == "--check" ]; then
duplicity collection-status file:///$BACKUP_FOLDER
else
# it's important to let $EXCLUDE come before $INCLUDE to