mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-11-27 22:38:10 +01:00
fix(jinja): replace version_cmp with grains lookup
This commit is contained in:
parent
b7d323f878
commit
dd37869d28
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user