Browse Source

Fix for centos5 and jinja < 2.6

master
Krzysztof Pawłowski 9 years ago
parent
commit
3f9e4fc7d4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      salt/formulas.jinja

+ 1
- 1
salt/formulas.jinja View File

{%- set value = salt['pillar.get']('salt_formulas:git_opts:{0}:{1}'.format(env, opt), {%- set value = salt['pillar.get']('salt_formulas:git_opts:{0}:{1}'.format(env, opt),
salt['pillar.get']('salt_formulas:git_opts:default:{0}'.format(opt), salt['pillar.get']('salt_formulas:git_opts:default:{0}'.format(opt),
defaults[opt])) -%} defaults[opt])) -%}
{%- if value is mapping -%}
{%- if value is iterable -%}
{{ value|yaml }} {{ value|yaml }}
{%- else -%} {%- else -%}
{{ value }} {{ value }}

Loading…
Cancel
Save