bodhi / backend: run owner-sync-pagure as apache user

This has been broken since basically forever.
The bodhi keytab is owner by apache and expects to be run under that
user. Two reasons we never noticed/fixed this:

Until recently it was failing with a error trying to talk to pagure.io's
api. So I just thought it was too slow and needed to be optomized.
When I tweaked pagure's httpd config for the DDoS we had the other day I
fixed this on the server end, then it got to the auth error.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2022-06-21 13:02:50 -07:00
parent 0716844ad5
commit c62bbb0df4

View file

@ -89,6 +89,7 @@
cron: name="owner-sync" minute="15" hour="4" user="root"
job="/usr/local/bin/lock-wrapper owner-sync '/usr/local/bin/owner-sync-pagure f37 f37-container f37-modular f36 f36-container f36-modular f35 f35-container f35-modular epel9 epel9-next epel8 epel8-next epel8-modular epel7 module-package-list modular'"
cron_file=update-koji-owner
user: apache
when: env == "production"
tags:
- bodhi