diff options
author | Leif Johansson <leifj@sunet.se> | 2015-03-06 13:47:33 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2015-03-06 13:47:33 +0100 |
commit | d28a1e93f4ab3db1f7dc1cd2a07abf7824ea6adf (patch) | |
tree | 510446f2e92fdd6137cb8e4a5a68684d6ff55cba | |
parent | 7c95885246afdb88adbcdaae60c68991facaddea (diff) |
bootstrap secretssunet-ops-2015-03-06-v08
-rwxr-xr-x | edit-secrets | 1 | ||||
-rw-r--r-- | web-a1.sunet.se/overlay/etc/hiera/data/.placeholder | 0 | ||||
-rw-r--r-- | web-a2.sunet.se/overlay/etc/hiera/data/.placeholder | 0 |
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 |