summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2015-03-06 13:47:33 +0100
committerLeif Johansson <leifj@sunet.se>2015-03-06 13:47:33 +0100
commitd28a1e93f4ab3db1f7dc1cd2a07abf7824ea6adf (patch)
tree510446f2e92fdd6137cb8e4a5a68684d6ff55cba
parent7c95885246afdb88adbcdaae60c68991facaddea (diff)
bootstrap secretssunet-ops-2015-03-06-v08
-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