Andrew Bogott has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/381505 )
Change subject: rabbitmq: redirect cron errors to logfile to avoid cronspam
......................................................................
rabbitmq: redirect cron errors to logfile to avoid cronspam
Change-Id: I2253a07cd3e1dba9db4bc714bcd688b2a15c9d0f
---
M modules/profile/manifests/openstack/base/rabbitmq.pp
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Andrew Bogott: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/profile/manifests/openstack/base/rabbitmq.pp
b/modules/profile/manifests/openstack/base/rabbitmq.pp
index 8d9715d..b319485 100644
--- a/modules/profile/manifests/openstack/base/rabbitmq.pp
+++ b/modules/profile/manifests/openstack/base/rabbitmq.pp
@@ -39,6 +39,6 @@
ensure => 'present',
user => 'root',
minute => '35',
- command => '/usr/local/sbin/drain_queue notifications.error >>
/var/log/rabbitmq/notifications_error.log',
+ command => '/usr/local/sbin/drain_queue notifications.error >>
/var/log/rabbitmq/notifications_error.log 2>&1',
}
}
--
To view, visit https://gerrit.wikimedia.org/r/381505
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2253a07cd3e1dba9db4bc714bcd688b2a15c9d0f
Gerrit-PatchSet: 1
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