Added retry-join-wan to consul parameters
This commit is contained in:
parent
56e51f834f
commit
ef98c54989
2 changed files with 7 additions and 0 deletions
|
@ -109,6 +109,12 @@ for param in $(ls "$__object/parameter/"); do
|
||||||
# remove trailing ,
|
# remove trailing ,
|
||||||
printf ' ,"retry_join": [%s]\n' "${retry_join%*,}"
|
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)
|
bootstrap-expect)
|
||||||
# integer key=value parameters
|
# integer key=value parameters
|
||||||
key="$(echo "$param" | tr '-' '_')"
|
key="$(echo "$param" | tr '-' '_')"
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
retry-join
|
retry-join
|
||||||
|
retry-join-wan
|
||||||
|
|
Loading…
Reference in a new issue