Skip to content

Commit

Permalink
fix(minion): fix windows path construction
Browse files Browse the repository at this point in the history
  • Loading branch information
pprkut committed Dec 27, 2021
1 parent dfa7f7d commit c9c6e12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions salt/minion.sls
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ salt-minion:
{%- endif %}
{% endif %}
file.recurse:
- name: {{ salt_settings.config_path }}/minion.d
- name: {{ salt_settings.config_path | path_join('minion.d') }}
{%- if salt_settings.minion_config_use_TOFS %}
- template: ''
- source: {{ files_switch(['minion.d'],
Expand Down Expand Up @@ -183,7 +183,7 @@ remove-default-minion-conf-file:
# clean up old _defaults.conf file if they have it around
remove-old-minion-conf-file:
file.absent:
- name: {{ salt_settings.config_path }}/minion.d/_defaults.conf
- name: {{ salt_settings.config_path | path_join('minion.d', '_defaults.conf') }}
{% if grains.os == 'MacOS' %}
remove-macpackage-salt:
Expand Down

0 comments on commit c9c6e12

Please sign in to comment.