Andrew Bogott has uploaded a new change for review. (
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, 11 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/02/364702/1
diff --git a/modules/openstack/manifests/common.pp
b/modules/openstack/manifests/common.pp
index 9b1cd63..f5e9e67 100644
--- a/modules/openstack/manifests/common.pp
+++ b/modules/openstack/manifests/common.pp
@@ -26,6 +26,17 @@
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: newchange
Gerrit-Change-Id: Ic4e3ca9bd589e9607b8e8a6773bb7f300c28352b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Andrew Bogott <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits