Skip to content

Commit

Permalink
fix(jinja): replace version_cmp with grains lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
noelmcloughlin committed Mar 19, 2020
1 parent b7d323f commit dd37869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/formulas.sls
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
{{ gitdir_env }}:
git.latest:
- name: {{ baseurl }}/{{ f_name }}.git
- parallel: {{ salt.pkg.version_cmp(grains['saltversion'], '2017.7.0') >= 0 }}
- parallel: {{ grains['saltversioninfo'] >= [2017, 7, 0] }}
- target: {{ gitdir }}
{%- for key, value in options.items() %}
- {{ key }}: {{ value }}
Expand Down

0 comments on commit dd37869

Please sign in to comment.