aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-12-12 13:32:18 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-12-12 13:32:18 -0200
commit72a74de6302cce0ac510ec0fe139a1ae26ca07c6 (patch)
tree43f22ea2e2069b9608738130e7544861dc8e076d /templates
parentd42ab100e9a5a115b569e1eacb680364657d6a6f (diff)
downloadpuppet-backup-72a74de6302cce0ac510ec0fe139a1ae26ca07c6.tar.gz
puppet-backup-72a74de6302cce0ac510ec0fe139a1ae26ca07c6.tar.bz2
Ensuring $BACKUP_FOLDER exists at duplicity actions
Diffstat (limited to 'templates')
-rw-r--r--templates/dup.conf.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/dup.conf.erb b/templates/dup.conf.erb
index a4b7210..c0b689d 100644
--- a/templates/dup.conf.erb
+++ b/templates/dup.conf.erb
@@ -24,6 +24,7 @@ TMP="/var/tmp"
mkdir -p $TMP
export PASSPHRASE='<%= password %>'
+mkdir -p $BACKUP_FOLDER
# adds support for checking the existing backup
if [ "$1" == "--check" ]; then