From ce6849247e5d309aaa2a983a888cd63b9e1ff9c2 Mon Sep 17 00:00:00 2001 From: Kevin Schmidt Date: Wed, 13 Jan 2016 13:04:22 +0000 Subject: [PATCH] add consul config support --- salt/files/master.d/f_defaults.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/salt/files/master.d/f_defaults.conf b/salt/files/master.d/f_defaults.conf index 770c8d9..539e913 100644 --- a/salt/files/master.d/f_defaults.conf +++ b/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 %}