@@ -6,16 +6,16 @@ include:
66 file .directory:
77 - user: root
88 - group: {{ postfix.root_grp }}
9- - dir_mode: ' 755 '
10- - file_mode: ' 644 '
9+ - dir_mode: ' 0755 '
10+ - file_mode: ' 0644 '
1111 - makedirs: True
1212
1313{{ postfix.config_path }}/ main.cf:
1414 file .managed:
1515 - source: salt:// postfix/ files/ main.cf
1616 - user: root
1717 - group: {{ postfix.root_grp }}
18- - mode: ' 644 '
18+ - mode: ' 0644 '
1919 - require:
2020 - pkg: postfix
2121 - watch_in:
@@ -30,7 +30,7 @@ include:
3030 - source: salt:// postfix/ files/ virtual_alias_maps.cf
3131 - user: root
3232 - group: postfix
33- - mode: ' 640 '
33+ - mode: ' 0640 '
3434 - require:
3535 - pkg: postfix
3636 - watch_in:
@@ -42,7 +42,7 @@ include:
4242 - source: salt:// postfix/ files/ virtual_mailbox_domains.cf
4343 - user: root
4444 - group: postfix
45- - mode: ' 640 '
45+ - mode: ' 0640 '
4646 - require:
4747 - pkg: postfix
4848 - watch_in:
@@ -54,7 +54,7 @@ include:
5454 - source: salt:// postfix/ files/ virtual_mailbox_maps.cf
5555 - user: root
5656 - group: postfix
57- - mode: ' 640 '
57+ - mode: ' 0640 '
5858 - require:
5959 - pkg: postfix
6060 - watch_in:
@@ -69,7 +69,7 @@ include:
6969 - source: salt:// postfix/ files/ master.cf
7070 - user: root
7171 - group: {{ postfix.root_grp }}
72- - mode: ' 644 '
72+ - mode: ' 0644 '
7373 - require:
7474 - pkg: postfix
7575 - watch_in:
@@ -94,7 +94,7 @@ postfix_{{ domain }}_ssl_certificate:
9494postfix_{{ domain }}_ssl_key:
9595 file .managed:
9696 - name: {{ postfix.config_path }}/ ssl/ {{ domain }}.key
97- - mode: ' 600 '
97+ - mode: ' 0600 '
9898 - makedirs: True
9999 - contents_pillar: postfix:certificates:{{ domain }}:private_key
100100 - watch_in:
@@ -127,9 +127,9 @@ postfix_{{ mapping }}:
127127 - user: root
128128 - group: {{ postfix.root_grp }}
129129 {%- if mapping.endswith(' _sasl_password_maps' ) % }
130- - mode: ' 600 '
130+ - mode: ' 0600 '
131131 {%- else % }
132- - mode: ' 644 '
132+ - mode: ' 0644 '
133133 {%- endif % }
134134 - template: jinja
135135 - context:
0 commit comments