From c9c6e1222396ef3105c19bb7d4e9e8f1670fd700 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Mon, 27 Dec 2021 14:37:24 +0100 Subject: [PATCH] fix(minion): fix windows path construction --- salt/minion.sls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/minion.sls b/salt/minion.sls index 8a038fa..c57295f 100644 --- a/salt/minion.sls +++ b/salt/minion.sls @@ -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'], @@ -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: