From 11efee54c37e16ae3c11b675ffc47b0877052cfd Mon Sep 17 00:00:00 2001 From: Andrew Vant Date: Fri, 3 Apr 2015 14:34:34 -0400 Subject: [PATCH] Added mine_functions to f_defaults.conf. --- salt/files/minion.d/f_defaults.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/salt/files/minion.d/f_defaults.conf b/salt/files/minion.d/f_defaults.conf index af8cdbc..3c234ca 100644 --- a/salt/files/minion.d/f_defaults.conf +++ b/salt/files/minion.d/f_defaults.conf @@ -185,6 +185,13 @@ id: {{ cfg_minion['id'] }} # The default interval is every 60 minutes. {{ get_config('mine_interval', '60') }} +{%- if 'mine_functions' in cfg_minion %} +mine_functions: +{%- for func, args in cfg_minion['mine_functions'].items() %} + {{ func }}: {{ args }} +{%- endfor %} +{%- endif %} + # To auto recover minions if master changes IP address (DDNS) # auth_tries: 10 # auth_safemode: False