浏览代码

Merge pull request #199 from kevinschmidt/master

add consul config support to master config file
master
Forrest 9 年前
父节点
当前提交
337c48b14c
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. +9
    -0
      salt/files/master.d/f_defaults.conf

+ 9
- 0
salt/files/master.d/f_defaults.conf 查看文件

@@ -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 %}

正在加载...
取消
保存