bundles/sudo: use sudoers.d
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2020-11-09 20:39:35 +01:00
parent c7362df6c4
commit 6ca0d863b1
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 17 additions and 16 deletions

View file

@ -2,8 +2,19 @@ groups = {
'sudo': {},
}
directories = {
'/etc/sudoers.d': {
'purge': True,
},
}
files = {
'/etc/sudoers': {
'needs': {
'file:/etc/sudoers.d/bwusers',
},
},
'/etc/sudoers.d/bwusers': {
'content_type': 'mako',
},
}