From aa3b773f7245fdae900ff64d9f8b0bffd8220ca7 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Thu, 19 Apr 2018 17:04:42 +0200 Subject: [PATCH] DNF is silly.... Why no option to specify this on the CLI? Nobody knows Signed-off-by: Patrick Uiterwijk --- roles/openshift-apps/bodhi/templates/buildconfig.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/openshift-apps/bodhi/templates/buildconfig.yml b/roles/openshift-apps/bodhi/templates/buildconfig.yml index 52379b7125..f7fb211a1f 100644 --- a/roles/openshift-apps/bodhi/templates/buildconfig.yml +++ b/roles/openshift-apps/bodhi/templates/buildconfig.yml @@ -19,6 +19,8 @@ items: {% if env == "staging" %} RUN curl -o /etc/yum.repos.d/infra-tags-stg.repo https://infrastructure.fedoraproject.org/cgit/ansible.git/plain/files/common/fedora-infra-tags-stg.repo {% endif %} + # While dnf has a --nodocs, it doesen't have a --docs... + RUN sed -i '/nodocs/d' /etc/dnf/dnf.conf RUN dnf install -y bodhi-server bodhi-docs # Put the fedmsg config in place RUN rm -f /etc/fedmsg.d/bodhi.py