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:
Brian Jackson 2015-08-27 17:37:53 -05:00
parent 4c4ace6d55
commit 9779609bc4
1 changed files with 0 additions and 4 deletions

View File

@ -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) -%}