Pārlūkot izejas kodu

fix(minion): fix version compare in minion.sls

tags/v0.58.4
nb pirms 5 gadiem
vecāks
revīzija
49bf81bc6e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      salt/minion.sls

+ 1
- 1
salt/minion.sls Parādīt failu

@@ -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 %}

Notiek ielāde…
Atcelt
Saglabāt