From e97822a0d5ba73ab884d1355b45d6afefc45f24c Mon Sep 17 00:00:00 2001 From: "a.genus" Date: Fri, 25 Mar 2016 16:57:06 +0300 Subject: [PATCH] Take mine_functions back --- 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 f09ebca..9c65ce3 100644 --- a/salt/files/minion.d/f_defaults.conf +++ b/salt/files/minion.d/f_defaults.conf @@ -204,6 +204,14 @@ id: {{ cfg_minion['id'] }} # Ping Master to ensure connection is alive (minutes). {{ get_config('ping_interval', '0') }} +{%- 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