Browse Source
fix(minion): respect `minion_remove_config: true`
Fixes #527.
tags/v1.10.1
Imran Iqbal
2 years ago
No account linked to committer's email address
1 changed files with
2 additions and
0 deletions
-
salt/minion.sls
|
|
|
|
|
|
|
|
- force: True |
|
|
- force: True |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
{% if not salt_settings.minion_remove_config %} |
|
|
permissions-minion-config: |
|
|
permissions-minion-config: |
|
|
file.managed: |
|
|
file.managed: |
|
|
- name: {{ salt_settings.config_path | path_join('minion') }} |
|
|
- name: {{ salt_settings.config_path | path_join('minion') }} |
|
|
|
|
|
|
|
|
- mode: 640 |
|
|
- mode: 640 |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
- replace: False |
|
|
- replace: False |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
salt-minion-pki-dir: |
|
|
salt-minion-pki-dir: |
|
|
file.directory: |
|
|
file.directory: |