Added retry-join-wan to consul parameters

This commit is contained in:
David Hürlimann 2015-08-14 22:54:55 +02:00
parent 56e51f834f
commit ef98c54989
2 changed files with 7 additions and 0 deletions

View file

@ -109,6 +109,12 @@ for param in $(ls "$__object/parameter/"); do
# remove trailing ,
printf ' ,"retry_join": [%s]\n' "${retry_join%*,}"
;;
retry-join-wan)
# join multiple parameters into json array over wan
retry_join_wan="$(awk '{printf "\""$1"\","}' "$__object/parameter/retry-join-wan")"
# remove trailing ,
printf ' ,"retry_join_wan": [%s]\n' "${retry_join_wan%*,}"
;;
bootstrap-expect)
# integer key=value parameters
key="$(echo "$param" | tr '-' '_')"

View file

@ -1 +1,2 @@
retry-join
retry-join-wan