Skip to content

Commit

Permalink
add consul config support
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinschmidt committed Jan 19, 2016
1 parent 0fee3f5 commit ce68492
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions salt/files/master.d/f_defaults.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}

0 comments on commit ce68492

Please sign in to comment.