postfix: update set formatting in items.py

This commit is contained in:
Rico 2022-01-03 13:47:07 +01:00
parent b442d54746
commit d67869aaf6
Signed by: stillbeben
GPG key ID: AE1066B5BD0B5041

View file

@ -1,6 +1,9 @@
svc_systemd = { svc_systemd = {
'postfix': { 'postfix': {
'needs': ['pkg_apt:postfix', 'file:/etc/postfix/main.cf'], 'needs': [
'pkg_apt:postfix',
'file:/etc/postfix/main.cf',
],
} }
} }
@ -8,7 +11,9 @@ files = {
'/etc/postfix/main.cf': { '/etc/postfix/main.cf': {
'content_type': 'mako', 'content_type': 'mako',
'needs': ['pkg_apt:postfix'], 'needs': ['pkg_apt:postfix'],
'triggers': ['svc_systemd:postfix:restart'], 'triggers': [
'svc_systemd:postfix:restart',
],
}, },
} }
@ -16,6 +21,8 @@ directories = {
'/etc/postfix': { '/etc/postfix': {
'owner': 'root', 'owner': 'root',
'mode': '1755', 'mode': '1755',
'needs': ['pkg_apt:postfix'], 'needs': [
'pkg_apt:postfix',
],
}, },
} }