Skip to content

Commit 92a19d5

Browse files
authored
Update config.sls
Fix for bug saltstack-formulas#118 where calling postfix.config throws an error: Jinja variable 'default_database_type' is undefined
1 parent 381b150 commit 92a19d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

postfix/config.sls

+3
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ postfix_{{ domain }}_ssl_key:
102102
103103
{% endfor %}
104104
105+
{# Used for newaliases, postalias and postconf #}
106+
{%- set default_database_type = salt['pillar.get']('postfix:config:default_database_type', 'hash') %}
107+
105108
# manage various mappings
106109
{% for mapping, data in salt['pillar.get']('postfix:mapping', {}).items() %}
107110
{%- set need_postmap = False %}

0 commit comments

Comments
 (0)