From d28a1e93f4ab3db1f7dc1cd2a07abf7824ea6adf Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Fri, 6 Mar 2015 13:47:33 +0100 Subject: bootstrap secrets --- edit-secrets | 1 + web-a1.sunet.se/overlay/etc/hiera/data/.placeholder | 0 web-a2.sunet.se/overlay/etc/hiera/data/.placeholder | 0 3 files changed, 1 insertion(+) create mode 100644 web-a1.sunet.se/overlay/etc/hiera/data/.placeholder create mode 100644 web-a2.sunet.se/overlay/etc/hiera/data/.placeholder 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 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 -- cgit v1.1