From 98d591eab2357e1fe0a3b26abdb36db3cedd284b Mon Sep 17 00:00:00 2001
From: Manoj Sonawane <sonawane.manoj@gmail.com>
Date: Mon, 27 Jun 2016 01:34:05 +0000
Subject: [PATCH] add module_config for minions

---
 salt/files/minion.d/f_defaults.conf | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/salt/files/minion.d/f_defaults.conf b/salt/files/minion.d/f_defaults.conf
index cec953a..dcd1a64 100644
--- a/salt/files/minion.d/f_defaults.conf
+++ b/salt/files/minion.d/f_defaults.conf
@@ -927,6 +927,14 @@ ext_pillar:
 # A dict for the test module:
 #test.baz: {spam: sausage, cheese: bread}
 #
+
+
+{%- if 'module_config' in cfg_minion %}
+    {%- for modkey, modval in cfg_minion.module_config.items() %}
+{{ modkey }}: {{ modval }}
+    {%- endfor %}
+{%- endif %}
+
 #
 ######      Update settings          ######
 ###########################################