Restart rsyslog after installing Swift
This ensures that Swift logs end up in /var/log/swift/swift.log. Closes-Bug: 1781350 Change-Id: Id5a6083f5dc3f8c569e0d0778722c1e52ff7cdef
This commit is contained in:
parent
3fc4cc7049
commit
d3c6857a49
|
@ -477,6 +477,11 @@ ring_account_device { "${controller_host}:6002/1":
|
|||
}
|
||||
Ring_account_device<||> ~> Service['swift-proxy-server']
|
||||
|
||||
# Ensure rsyslog catches up change in /etc/rsyslog.d and forwards logs
|
||||
exec { 'restart rsyslog':
|
||||
command => '/bin/systemctl restart rsyslog',
|
||||
}
|
||||
|
||||
# Apache
|
||||
include ::apache
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
fixes:
|
||||
- |
|
||||
Enforce a restart of rsyslog after installing Swift rpms. Otherwise all
|
||||
Swift logs end up in /var/log/messages instead of /var/log/swift/swift.log
|
Loading…
Reference in New Issue