Merge pull request #403 from thekleine/consul-version-0.5.2

Consul version 0.5.2
This commit is contained in:
Nico Schottelius 2015-08-28 10:57:53 +02:00
commit 68370db5c3
5 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1 @@
2207534901 18245010 consul

View File

@ -0,0 +1 @@
https://dl.bintray.com/mitchellh/consul/0.5.2_linux_amd64.zip

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

@ -17,3 +17,4 @@ key-file-source
node-name
user
state
advertise-wan

View File

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