Andrew Bogott has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/364702 )
Change subject: Nova: Remove redundant logrotate script that's causing cronspam
......................................................................
Nova: Remove redundant logrotate script that's causing cronspam
Change-Id: Ic4e3ca9bd589e9607b8e8a6773bb7f300c28352b
---
M modules/openstack/manifests/common.pp
1 file changed, 10 insertions(+), 0 deletions(-)
Approvals:
Andrew Bogott: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/openstack/manifests/common.pp
b/modules/openstack/manifests/common.pp
index 9b1cd63..8dc4423 100644
--- a/modules/openstack/manifests/common.pp
+++ b/modules/openstack/manifests/common.pp
@@ -26,6 +26,16 @@
require_package($packages)
+ # For some reason the Mitaka nova-common package installs
+ # a logrotate rule for nova/*.log and also a nova/nova-manage.log.
+ # This is redundant and makes log-rotate unhappy.
+ # Not to mention, nova-manage.log is very low traffic and doesn't
+ # really need to be rotated anyway.
+ file { '/etc/logrotate.d/nova-manage':
+ ensure => absent,
+ require => Package['nova-common'],
+ }
+
# Allow unprivileged users to look at nova logs
file { '/var/log/nova':
ensure => directory,
--
To view, visit https://gerrit.wikimedia.org/r/364702
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic4e3ca9bd589e9607b8e8a6773bb7f300c28352b
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Andrew Bogott <[email protected]>
Gerrit-Reviewer: Andrew Bogott <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits