19 lines
305 B
Python
19 lines
305 B
Python
|
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',
|
||
|
},
|
||
|
}
|