瀏覽代碼

Added mine_functions to f_defaults.conf.

master
Andrew Vant 9 年之前
父節點
當前提交
11efee54c3
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. +7
    -0
      salt/files/minion.d/f_defaults.conf

+ 7
- 0
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

Loading…
取消
儲存