Merge "Restart rsyslog after installing Swift"

This commit is contained in:
Zuul 2018-07-30 09:46:38 +00:00 committed by Gerrit Code Review
commit 26ce50fe5d
2 changed files with 10 additions and 0 deletions

View File

@ -483,6 +483,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

View File

@ -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