forked from Deuxfleurs/infrastructure
7 lines
213 B
Bash
Executable file
7 lines
213 B
Bash
Executable file
#!/bin/bash
|
|
|
|
find {configuration,secrets}/$1 -type f \
|
|
| grep --perl-regexp --invert-match "\.sample$|\.gen$|/.gitignore$" \
|
|
| while read filename; do
|
|
consul kv put "${filename}" "@${filename}"
|
|
done
|