Retry join

This commit is contained in:
Bahadır Kandemir 2015-10-08 14:49:04 +03:00
parent 772d96b58d
commit 80dab3058f
2 changed files with 5 additions and 0 deletions

View file

@ -8,3 +8,6 @@ consul:
enable_debug: false
log_level: info
encrypt: ""
retry_join: []
retry_interval: 30s
datacenter: "main"

View file

@ -1,3 +1,5 @@
{% import_yaml "consul/defaults.yaml" as defaults %}
{% set consul = salt['pillar.get']('consul', default=defaults.consul, merge=True) %}
{% do consul.config.update({'retry_join': consul.config.retry_join or []}) %}