2
0

Take mine_functions back

This commit is contained in:
a.genus 2016-03-25 16:57:06 +03:00
parent 7856b5ea9a
commit e97822a0d5

View File

@ -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