瀏覽代碼

fix(minion): fix windows path construction

tags/v1.10.0
Heinz Wiesinger 2 年之前
父節點
當前提交
c9c6e12223
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      salt/minion.sls

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

Loading…
取消
儲存