瀏覽代碼

fix(minion): respect `minion_remove_config: true`

Fixes #527.
tags/v1.10.1
Imran Iqbal 2 年之前
父節點
當前提交
02c31df0c5
No account linked to committer's email address
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      salt/minion.sls

+ 2
- 0
salt/minion.sls 查看文件

@@ -192,6 +192,7 @@ remove-macpackage-salt:
- force: True
{% endif %}

{% if not salt_settings.minion_remove_config %}
permissions-minion-config:
file.managed:
- name: {{ salt_settings.config_path | path_join('minion') }}
@@ -206,6 +207,7 @@ permissions-minion-config:
- mode: 640
{% endif %}
- replace: False
{% endif %}

salt-minion-pki-dir:
file.directory:

Loading…
取消
儲存