0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2024-11-27 22:38:10 +01:00

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

fix(minion): respect `minion_remove_config: true`
This commit is contained in:
Imran Iqbal 2022-02-03 16:36:36 +00:00 committed by GitHub
commit fea0059323
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -192,6 +192,7 @@ remove-macpackage-salt:
- 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') }}
@ -206,6 +207,7 @@ permissions-minion-config:
- mode: 640 - mode: 640
{% endif %} {% endif %}
- replace: False - replace: False
{% endif %}
salt-minion-pki-dir: salt-minion-pki-dir:
file.directory: file.directory: