瀏覽代碼

fix minion daemon to be enabled if master_type is set to disable

master
Niels Abspoel 8 年之前
父節點
當前提交
64e7376fe4
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      salt/standalone.sls

+ 2
- 1
salt/standalone.sls 查看文件

@@ -15,10 +15,11 @@ salt-minion:
standalone: True
{%- if salt_settings.minion.master_type is defined and salt_settings.minion.master_type == 'disable' %}
service.running:
- enable: True
{%- else %}
service.dead:
{%- endif %}
- enable: False
{%- endif %}
- name: {{ salt_settings.minion_service }}
- require:
{% if salt_settings.install_packages %}

Loading…
取消
儲存