From 134b51c31af5b766fdb748e7b688c764804c4d61 Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Tue, 7 Nov 2017 20:13:26 +0000 Subject: [PATCH] Only configure the mash_dir on the staging backend. Signed-off-by: Randy Barlow --- roles/bodhi2/base/templates/staging.ini.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/bodhi2/base/templates/staging.ini.j2 b/roles/bodhi2/base/templates/staging.ini.j2 index 2a5b686e21..273dd1fec3 100644 --- a/roles/bodhi2/base/templates/staging.ini.j2 +++ b/roles/bodhi2/base/templates/staging.ini.j2 @@ -85,8 +85,10 @@ releng_fedmsg_certname = shell-bodhi-backend01.stg.phx2.fedoraproject.org # will act as a masher as well. #masher = None +{% if 'backend' in inventory_hostname %} mash_dir = /mnt/koji/compose/updates/ mash_stage_dir = /mnt/koji/compose/updates/ +{% endif %} pungi.basepath = /etc/bodhi pungi.conf.rpm = pungi.rpm.conf.j2 pungi.conf.module = pungi.module.conf.j2