Browse Source

fix(jinja): replace version_cmp with grains lookup

tags/v1.3.1
N 4 years ago
parent
commit
325f6c061b
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      salt/formulas.sls

+ 1
- 1
salt/formulas.sls View File

@@ -34,7 +34,7 @@
{%- do processed_basedirs.append(basedir) %}
{{ basedir }}:
file.directory:
- parallel: {{ salt.pkg.version_cmp(grains['saltversion'], '2017.7.0') >= 0 }}
- parallel: {{ grains['saltversioninfo'] >= [2017, 7, 0] }}
{%- for key, value in salt['pillar.get']('salt_formulas:basedir_opts',
{'makedirs': True}).items() %}
- {{ key }}: {{ value }}

Loading…
Cancel
Save