Skip to content

Commit

Permalink
Fix for centos5 and jinja < 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
msciciel committed Jul 30, 2015
1 parent 2af4bf3 commit 3f9e4fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/formulas.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 3f9e4fc

Please sign in to comment.