kandra: Run rabbitmq cron jobs as root.

This is a regression introduced in
f246b82f67.
This commit is contained in:
Alex Vandiver 2024-05-28 17:51:00 -04:00 committed by Tim Abbott
parent 097066f412
commit a6d2112453
1 changed files with 2 additions and 0 deletions

View File

@ -12,10 +12,12 @@ class kandra::app_frontend_monitoring {
} }
zulip::cron { 'check-rabbitmq-queue': zulip::cron { 'check-rabbitmq-queue':
minute => '*', minute => '*',
user => 'root',
command => '/home/zulip/deployments/current/scripts/nagios/check-rabbitmq-queue', command => '/home/zulip/deployments/current/scripts/nagios/check-rabbitmq-queue',
} }
zulip::cron { 'check-rabbitmq-consumers': zulip::cron { 'check-rabbitmq-consumers':
minute => '*', minute => '*',
user => 'root',
command => '/home/zulip/deployments/current/scripts/nagios/check-rabbitmq-consumers', command => '/home/zulip/deployments/current/scripts/nagios/check-rabbitmq-consumers',
} }
} }