瀏覽代碼

Merge pull request #419 from sticky-note/fix/minion-version

fix(minion): Fix version compare in minion.sls
tags/v0.58.4
Imran Iqbal 5 年之前
父節點
當前提交
23b2b7da64
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      salt/minion.sls

+ 1
- 1
salt/minion.sls 查看文件

@@ -78,7 +78,7 @@ salt-minion:
- file: salt-minion
{%- if not salt_settings.restart_via_at %}
cmd.run:
{%- if grains['saltversioninfo'][0] >= 2016 and grains['saltversioninfo'][1] >= 3 %}
{%- if grains['saltversioninfo'] >= [ 2016, 3 ] %}
{%- if grains['kernel'] == 'Windows' %}
- name: 'salt-call.bat --local service.restart {{ salt_settings.minion_service }}'
{%- else %}

Loading…
取消
儲存