Skip to content

Commit

Permalink
Merge pull request #419 from sticky-note/fix/minion-version
Browse files Browse the repository at this point in the history
fix(minion): Fix version compare in minion.sls
  • Loading branch information
myii authored Aug 25, 2019
2 parents 5778238 + 49bf81b commit 23b2b7d
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 23b2b7d

Please sign in to comment.