bundlewrap/bundles/postfix/items.py

26 lines
450 B
Python
Raw Normal View History

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