Browse Source

Remove mapping test

This test isn't available in certain popular versions of Jinja (namely the one
installed by default in CentOS 6).
tags/v0.57.0
Brian Jackson 9 years ago
parent
commit
9779609bc4
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      salt/formulas.jinja

+ 0
- 4
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 -%}
{{ value|yaml }} {{ value|yaml }}
{%- else -%}
{{ value }}
{%- endif -%}
{%- endmacro -%} {%- endmacro -%}


{%- macro formulas_roots(env) -%} {%- macro formulas_roots(env) -%}

Loading…
Cancel
Save