aboutsummaryrefslogtreecommitdiff
path: root/consul/restore_configuration.sh
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2019-12-04 16:54:59 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2019-12-04 16:54:59 +0100
commit0b3eb8ec1b3ba3691410744f6397437c9832e74d (patch)
tree88dbd13fc1ff2e9a7e3773d88143c8bc68b05a63 /consul/restore_configuration.sh
parentede3a300e5ac2567ea15db6fe40ddd9b7510d9e3 (diff)
parent08f3ef8c179b499f6b6051ad95a66ea9d352e5f9 (diff)
downloadinfrastructure-0b3eb8ec1b3ba3691410744f6397437c9832e74d.tar.gz
infrastructure-0b3eb8ec1b3ba3691410744f6397437c9832e74d.zip
Merge branch 'master' of gitlab.com:superboum/deuxfleurs.fr
Diffstat (limited to 'consul/restore_configuration.sh')
-rwxr-xr-xconsul/restore_configuration.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/consul/restore_configuration.sh b/consul/restore_configuration.sh
index ba4d353..33742e5 100755
--- a/consul/restore_configuration.sh
+++ b/consul/restore_configuration.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-find {configuration,secrets} -type f \
+find {configuration,secrets}/$1 -type f \
| grep --perl-regexp --invert-match "\.sample$|\.gen$|/.gitignore$" \
| while read filename; do
consul kv put "${filename}" "@${filename}"