Browse Source

Merge pull request #528 from myii/bug/fix-527

fix(minion): respect `minion_remove_config: true`
tags/v1.10.1
Imran Iqbal 2 years ago
parent
commit
fea0059323
No account linked to committer's email address
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      salt/minion.sls

+ 2
- 0
salt/minion.sls View File

@@ -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…
Cancel
Save