Browse Source

fix(minion): respect `minion_remove_config: true`

Fixes #527.
tags/v1.10.1
Imran Iqbal 2 years ago
parent
commit
02c31df0c5
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

- 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:

Loading…
Cancel
Save