add bundle:rsyslogd

This commit is contained in:
Franzi 2023-08-28 17:21:48 +02:00
parent 36dac3be7c
commit 39576fda38
Signed by: kunsi
GPG key ID: 12E3D2136B818350
6 changed files with 89 additions and 3 deletions

18
bundles/rsyslogd/items.py Normal file
View file

@ -0,0 +1,18 @@
files['/etc/logrotate.d/rsyslog'] = {
'source': 'logrotate.conf',
}
files['/etc/rsyslog.conf'] = {
'triggers': {
'svc_systemd:rsyslog:restart',
},
}
svc_systemd['rsyslog'] = {
'needs': {
'pkg_apt:rsyslog',
},
'after': {
'file:/etc/rsyslog.conf',
},
}