From 9779609bc4dcc400bf3fc6ec074252dee09f512f Mon Sep 17 00:00:00 2001 From: Brian Jackson Date: Thu, 27 Aug 2015 17:37:53 -0500 Subject: [PATCH] Remove mapping test This test isn't available in certain popular versions of Jinja (namely the one installed by default in CentOS 6). --- salt/formulas.jinja | 4 ---- 1 file changed, 4 deletions(-) diff --git a/salt/formulas.jinja b/salt/formulas.jinja index 599659f..0c0a50b 100644 --- a/salt/formulas.jinja +++ b/salt/formulas.jinja @@ -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) -%}