2021-12-29 22:26:51 +00:00
|
|
|
svc_systemd = {
|
|
|
|
'postfix': {
|
2022-01-03 12:47:07 +00:00
|
|
|
'needs': [
|
|
|
|
'pkg_apt:postfix',
|
|
|
|
'file:/etc/postfix/main.cf',
|
|
|
|
],
|
2021-12-29 22:26:51 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
files = {
|
|
|
|
'/etc/postfix/main.cf': {
|
|
|
|
'content_type': 'mako',
|
|
|
|
'needs': ['pkg_apt:postfix'],
|
2022-01-03 12:47:07 +00:00
|
|
|
'triggers': [
|
|
|
|
'svc_systemd:postfix:restart',
|
|
|
|
],
|
2021-12-29 22:26:51 +00:00
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
directories = {
|
|
|
|
'/etc/postfix': {
|
|
|
|
'owner': 'root',
|
|
|
|
'mode': '1755',
|
2022-01-03 12:47:07 +00:00
|
|
|
'needs': [
|
|
|
|
'pkg_apt:postfix',
|
|
|
|
],
|
2021-12-29 22:26:51 +00:00
|
|
|
},
|
|
|
|
}
|