From 63a72008ff20ba8890e1ca9b94b59d7b07cacb8a Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 27 Apr 2016 18:08:03 +0000 Subject: [PATCH] Fix template --- roles/koji_builder/templates/runroot.conf.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/koji_builder/templates/runroot.conf.j2 b/roles/koji_builder/templates/runroot.conf.j2 index 89d16cafb9..e91e7ef7b0 100644 --- a/roles/koji_builder/templates/runroot.conf.j2 +++ b/roles/koji_builder/templates/runroot.conf.j2 @@ -4,9 +4,9 @@ ; paths have readonly options and are made writable via extra_mounts ; parameter for individual calls. ; default_mounts = /mnt/archive,/mnt/workdir -{% if {{ env }} == 'production' %} +{% if env == 'production' %} default_mounts = /mnt/koji -{% elif {{ env }} == 'staging' %} +{% elif env == 'staging' %} ; In staging we also need the production split volume default_mounts = /mnt/koji,/mnt/fedora_koji_prod/koji {% endif %} @@ -42,7 +42,7 @@ path = /mnt/koji fstype = bind options = bind -{% if {{ env }} == 'staging' %} +{% if env == 'staging' %} ; we need to mount the production split volume here. [path2] mountpoint = /mnt/fedora_koji_prod/koji