瀏覽代碼

add option to start minion service if master_type is set to disable

tags/v0.57.0
Niels Abspoel 8 年之前
父節點
當前提交
1ffbb4b6bc
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. +4
    -0
      salt/standalone.sls

+ 4
- 0
salt/standalone.sls 查看文件

@@ -13,7 +13,11 @@ salt-minion:
- exclude_pat: _*
- context:
standalone: True
{%- if salt_settings.minion.master_type is defined and salt_settings.minion.master_type == 'disable' %}
service.running:
{%- else %}
service.dead:
{%- endif %}
- enable: False
- name: {{ salt_settings.minion_service }}
- require:

Loading…
取消
儲存