add bundle:rsyslogd
This commit is contained in:
parent
36dac3be7c
commit
39576fda38
6 changed files with 89 additions and 3 deletions
18
bundles/rsyslogd/items.py
Normal file
18
bundles/rsyslogd/items.py
Normal 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',
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue