bundlewrap/bundles/postfix/items.py

29 lines
497 B
Python
Raw Normal View History

2021-12-29 22:26:51 +00:00
svc_systemd = {
'postfix': {
'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'],
'triggers': [
'svc_systemd:postfix:restart',
],
2021-12-29 22:26:51 +00:00
},
}
directories = {
'/etc/postfix': {
'owner': 'root',
'mode': '1755',
'needs': [
'pkg_apt:postfix',
],
2021-12-29 22:26:51 +00:00
},
}