2
0

Fix for centos5 and jinja < 2.6

This commit is contained in:
Krzysztof Pawłowski 2015-07-30 10:45:20 +02:00
parent 2af4bf3bb5
commit 3f9e4fc7d4

View File

@ -11,7 +11,7 @@
{%- 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),
defaults[opt])) -%}
{%- if value is mapping -%}
{%- if value is iterable -%}
{{ value|yaml }}
{%- else -%}
{{ value }}