347937ad46
Break up the consul formula into two states: consul and consul-template such that it is possible to install consul without consul-template. Update consul and consul-template to 0.6.4 and 0.14.0 respectively. Consul template can now be configured with pillars.
5 lines
218 B
Django/Jinja
5 lines
218 B
Django/Jinja
{% 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 []}) %}
|