Ver código fonte

add consul config support

master
Kevin Schmidt 9 anos atrás
pai
commit
ce6849247e
1 arquivos alterados com 9 adições e 0 exclusões
  1. +9
    -0
      salt/files/master.d/f_defaults.conf

+ 9
- 0
salt/files/master.d/f_defaults.conf Ver arquivo

@@ -1045,3 +1045,12 @@ rest_tornado:
##########################################
{{ get_config('presence_events', 'False') }}
{% endif %}

{% if 'consul_config' in cfg_master %}
##### consul_config #####
##########################################
consul_config:
{% for name, value in cfg_master['consul_config'].items() %}
{{ name }}: {{ value }}
{%- endfor %}
{%- endif %}

Carregando…
Cancelar
Salvar