mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2026-10-07 18:49:35 +02:00
add consul config support
This commit is contained in:
1 parent
0fee3f58f2
commit
ce6849247e
1 file changed
+9
@@ -1045,3 +1045,12 @@ rest_tornado:
|
|||||||
##########################################
|
##########################################
|
||||||
{{ get_config('presence_events', 'False') }}
|
{{ get_config('presence_events', 'False') }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if 'consul_config' in cfg_master %}
|
||||||
|
##### consul_config #####
|
||||||
|
##########################################
|
||||||
|
consul_config:
|
||||||
|
{% for name, value in cfg_master['consul_config'].items() %}
|
||||||
|
{{ name }}: {{ value }}
|
||||||
|
{%- endfor %}
|
||||||
|
{%- endif %}
|
||||||
Reference in new issue
Block a user