aboutsummaryrefslogtreecommitdiff
path: root/consul/restore_configuration.sh
diff options
context:
space:
mode:
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}"