formula-consul/consul/map.jinja
George Robinson 347937ad46 Separate consul and consul-template states
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.
2016-04-24 11:20:31 +01:00

6 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 []}) %}