Handle smtp/lmtp password maps file mode
Do not hardcode the key name, even if there is only two at the moment
This commit is contained in:
parent
62ab827c34
commit
4c780c184e
@ -46,7 +46,7 @@ postfix_{{ mapping }}:
|
||||
- source: salt://postfix/files/mapping.j2
|
||||
- user: root
|
||||
- group: root
|
||||
{%- if mapping == 'smtp_sasl_password_maps' %}
|
||||
{%- if mapping.endswith('_sasl_password_maps') %}
|
||||
- mode: 600
|
||||
{%- else %}
|
||||
- mode: 644
|
||||
|
Loading…
Reference in New Issue
Block a user