Fix sasl_passwd handling - can't just dump json to sasl_passwd
This commit is contained in:
parent
9326095571
commit
d520b6f2c5
1 changed files with 6 additions and 1 deletions
|
@ -1,2 +1,7 @@
|
||||||
# Managed by config management
|
# Managed by config management
|
||||||
{{pillar['postfix']['sasl_passwd']}}
|
{% set canonical = salt['pillar.get']('postfix:sasl_passwd',{}) -%}
|
||||||
|
{% if canonical is iterable -%}
|
||||||
|
{% for key,value in salt['pillar.get']('postfix:sasl_passwd',{}).iteritems() -%}
|
||||||
|
{{ key }} {{ value }}
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue