Retry join
This commit is contained in:
parent
772d96b58d
commit
80dab3058f
2 changed files with 5 additions and 0 deletions
|
@ -8,3 +8,6 @@ consul:
|
||||||
enable_debug: false
|
enable_debug: false
|
||||||
log_level: info
|
log_level: info
|
||||||
encrypt: ""
|
encrypt: ""
|
||||||
|
retry_join: []
|
||||||
|
retry_interval: 30s
|
||||||
|
datacenter: "main"
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
{% import_yaml "consul/defaults.yaml" as defaults %}
|
{% import_yaml "consul/defaults.yaml" as defaults %}
|
||||||
|
|
||||||
{% set consul = salt['pillar.get']('consul', default=defaults.consul, merge=True) %}
|
{% set consul = salt['pillar.get']('consul', default=defaults.consul, merge=True) %}
|
||||||
|
|
||||||
|
{% do consul.config.update({'retry_join': consul.config.retry_join or []}) %}
|
||||||
|
|
Loading…
Reference in a new issue