Skip to content

Commit

Permalink
fix(minion): fix version compare in minion.sls
Browse files Browse the repository at this point in the history
  • Loading branch information
nb authored and sticky-note committed Aug 25, 2019
1 parent 042e9ba commit 49bf81b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/minion.sls
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit 49bf81b

Please sign in to comment.