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
1 changed files with 10 additions and 3 deletions

View File

@ -1,6 +1,9 @@
svc_systemd = {
'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': {
'content_type': 'mako',
'needs': ['pkg_apt:postfix'],
'triggers': ['svc_systemd:postfix:restart'],
'triggers': [
'svc_systemd:postfix:restart',
],
},
}
@ -16,6 +21,8 @@ directories = {
'/etc/postfix': {
'owner': 'root',
'mode': '1755',
'needs': ['pkg_apt:postfix'],
'needs': [
'pkg_apt:postfix',
],
},
}