0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2024-11-28 05:07:54 +01:00

Merge pull request #212 from genuss/mine_functions

Take mine_functions back
This commit is contained in:
Forrest 2016-03-25 11:43:13 -07:00
commit 59ee0c7761

View File

@ -204,6 +204,14 @@ id: {{ cfg_minion['id'] }}
# Ping Master to ensure connection is alive (minutes). # Ping Master to ensure connection is alive (minutes).
{{ get_config('ping_interval', '0') }} {{ 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) # To auto recover minions if master changes IP address (DDNS)
# auth_tries: 10 # auth_tries: 10
# auth_safemode: False # auth_safemode: False