bundlewrap/bundles/sudo/items.py
Franziska Kunsmann 51101fc615
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles/sudo: fix mode for /etc/sudoers
2021-01-23 09:28:50 +01:00

21 lines
312 B
Python

groups = {
'sudo': {},
}
directories = {
'/etc/sudoers.d': {
'purge': True,
},
}
files = {
'/etc/sudoers': {
'mode': '0440',
'needs': {
'file:/etc/sudoers.d/bwusers',
},
},
'/etc/sudoers.d/bwusers': {
'content_type': 'mako',
},
}