Remove mapping test
This test isn't available in certain popular versions of Jinja (namely the one installed by default in CentOS 6).
This commit is contained in:
parent
4c4ace6d55
commit
9779609bc4
@ -11,11 +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 -%}
|
||||
{{ value|yaml }}
|
||||
{%- else -%}
|
||||
{{ value }}
|
||||
{%- endif -%}
|
||||
{%- endmacro -%}
|
||||
|
||||
{%- macro formulas_roots(env) -%}
|
||||
|
Loading…
Reference in New Issue
Block a user