From c9d657e9d3eb3dc687a26e2c07d8c0df691d8c9e Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Tue, 17 Apr 2018 00:15:22 +0000 Subject: [PATCH] Remove the bodhi.py fedmsg config from the package and use the name. Signed-off-by: Randy Barlow --- roles/openshift-apps/bodhi/templates/buildconfig.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/openshift-apps/bodhi/templates/buildconfig.yml b/roles/openshift-apps/bodhi/templates/buildconfig.yml index 3f6ba3da16..98405d46f7 100644 --- a/roles/openshift-apps/bodhi/templates/buildconfig.yml +++ b/roles/openshift-apps/bodhi/templates/buildconfig.yml @@ -22,7 +22,8 @@ items: RUN dnf install -y bodhi-server python2-gunicorn RUN mv /usr/share/bodhi/bodhi.wsgi /usr/lib/python2.7/site-packages/bodhiwsgi.py # Put the fedmsg config in place - RUN ln -sf /etc/bodhi-fedmsg.d/bodhi-openshift-web.py /etc/fedmsg.d/bodhi-openshift-web.py + RUN rm -f /etc/fedmsg.d/bodhi.py + RUN ln -sf /etc/bodhi-fedmsg.d/bodhi-openshift-web.py /etc/fedmsg.d/bodhi.py # Put the fedmsg cert and key in place RUN mkdir -p /etc/pki/fedmsg/ RUN ln -sf /etc/pki/fedmsg/key/fedmsg-bodhi.key /etc/pki/fedmsg/bodhi.key