Merge pull request #403 from thekleine/consul-version-0.5.2
Consul version 0.5.2
This commit is contained in:
commit
68370db5c3
5 changed files with 10 additions and 0 deletions
1
cdist/conf/type/__consul/files/versions/0.5.2/cksum
Normal file
1
cdist/conf/type/__consul/files/versions/0.5.2/cksum
Normal file
|
@ -0,0 +1 @@
|
|||
2207534901 18245010 consul
|
1
cdist/conf/type/__consul/files/versions/0.5.2/source
Normal file
1
cdist/conf/type/__consul/files/versions/0.5.2/source
Normal file
|
@ -0,0 +1 @@
|
|||
https://dl.bintray.com/mitchellh/consul/0.5.2_linux_amd64.zip
|
|
@ -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 '-' '_')"
|
||||
|
|
|
@ -17,3 +17,4 @@ key-file-source
|
|||
node-name
|
||||
user
|
||||
state
|
||||
advertise-wan
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
retry-join
|
||||
retry-join-wan
|
||||
|
|
Loading…
Reference in a new issue