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