Pārlūkot izejas kodu

Merge pull request #212 from genuss/mine_functions

Take mine_functions back
master
Forrest pirms 8 gadiem
vecāks
revīzija
59ee0c7761
1 mainītis faili ar 8 papildinājumiem un 0 dzēšanām
  1. +8
    -0
      salt/files/minion.d/f_defaults.conf

+ 8
- 0
salt/files/minion.d/f_defaults.conf Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt