summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xedit-secrets1
-rw-r--r--web-a1.sunet.se/overlay/etc/hiera/data/.placeholder0
-rw-r--r--web-a2.sunet.se/overlay/etc/hiera/data/.placeholder0
3 files changed, 1 insertions, 0 deletions
diff --git a/edit-secrets b/edit-secrets
index 2c05197..51bfae8 100755
--- a/edit-secrets
+++ b/edit-secrets
@@ -133,6 +133,7 @@ else
recipient=$($GPG --list-secret-key | grep ^sec | head -1 | awk '{print $2}' | cut -d / -f 2)
save_to="`hostname --fqdn`/overlay${SECRETFILE}"
+ mkdir -p `dirname $save_to`
echo ""
(
echo "STATUS=UPDATED"
diff --git a/web-a1.sunet.se/overlay/etc/hiera/data/.placeholder b/web-a1.sunet.se/overlay/etc/hiera/data/.placeholder
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/web-a1.sunet.se/overlay/etc/hiera/data/.placeholder
diff --git a/web-a2.sunet.se/overlay/etc/hiera/data/.placeholder b/web-a2.sunet.se/overlay/etc/hiera/data/.placeholder
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/web-a2.sunet.se/overlay/etc/hiera/data/.placeholder