aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-05-26 11:03:40 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-05-26 11:03:40 -0300
commit5d66d68cba5c37b91c46f7a500b4bf85b6e9df89 (patch)
tree1d1247e5ef6f416d90176b7aa5c915230298f0fa
parent0d4aaef7770ca9bad7663a6de00ce8bcaa8b5ed6 (diff)
downloadpuppet-backup-5d66d68cba5c37b91c46f7a500b4bf85b6e9df89.tar.gz
puppet-backup-5d66d68cba5c37b91c46f7a500b4bf85b6e9df89.tar.bz2
Borg: fix BORG_KEY_FILE
-rw-r--r--templates/borg.sh.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/borg.sh.erb b/templates/borg.sh.erb
index 6c5e3ab..652bfa0 100644
--- a/templates/borg.sh.erb
+++ b/templates/borg.sh.erb
@@ -20,7 +20,7 @@ if [ "<%= @encryption %>" == "keyfile" ] && [ ! -z "<%= @keyfile %>" ]; then
fatal "Keyfile not found: <%= @keyfile %>. Please create it manually."
fi
- export BORG_KEY_FILE="/root/.borg/hydra/key"
+ export BORG_KEY_FILE="<%= @keyfile %>"
fi
# some helpers and error handling: