diff --git a/roles/bodhi2/base/templates/production.ini.j2 b/roles/bodhi2/base/templates/production.ini.j2 index 31fcf125b1..b5155db53c 100644 --- a/roles/bodhi2/base/templates/production.ini.j2 +++ b/roles/bodhi2/base/templates/production.ini.j2 @@ -115,11 +115,19 @@ releng_fedmsg_certname = shell-bodhi-backend03.phx2.fedoraproject.org # Where to initially mash repositories #mash_dir = /var/cache/bodhi/mashing +{% if ansible_hostname == 'bodhi-backend01' %} mash_dir = /mnt/koji/mash/updates +{% else %} +# mash_dir = +{% endif %} # Where to symlink the latest repos by their tag name #mash_stage_dir = /var/cache/bodhi/mashed +{% if ansible_hostname == 'bodhi-backend01' %} mash_stage_dir = /mnt/koji/mash/updates +{% else %} +# mash_stage_dir = +{% endif %} mash_conf = /etc/bodhi/mash.conf