Skip to content

Commit

Permalink
Merge pull request #528 from myii/bug/fix-527
Browse files Browse the repository at this point in the history
fix(minion): respect `minion_remove_config: true`
  • Loading branch information
myii committed Feb 3, 2022
2 parents 8015fe0 + 02c31df commit fea0059
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions salt/minion.sls
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand All @@ -206,6 +207,7 @@ permissions-minion-config:
- mode: 640
{% endif %}
- replace: False
{% endif %}
salt-minion-pki-dir:
file.directory:
Expand Down

0 comments on commit fea0059

Please sign in to comment.