From 56e9dd9dee959b14d42cace42efafd30769697c2 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 8 Feb 2018 20:36:36 +0000 Subject: [PATCH] fix conditionals --- roles/bodhi2/base/templates/production.ini.j2 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/roles/bodhi2/base/templates/production.ini.j2 b/roles/bodhi2/base/templates/production.ini.j2 index 94789b4bb1..75cc755cff 100644 --- a/roles/bodhi2/base/templates/production.ini.j2 +++ b/roles/bodhi2/base/templates/production.ini.j2 @@ -403,7 +403,7 @@ bugtracker = bugzilla # bz_server = https://bugzilla.redhat.com/xmlrpc.cgi {% if env == 'production' %} bz_server = https://bugzilla.redhat.com/xmlrpc.cgi -{% if env == 'staging' %} +{% elif env == 'staging' %} bz_server = https://partner-bugzilla.redhat.com/xmlrpc.cgi {% endif %} @@ -416,7 +416,7 @@ bz_products = Fedora,Fedora EPEL # buglink = https://bugzilla.redhat.com/show_bug.cgi?id=%s {% if env == 'production' %} buglink = https://bugzilla.redhat.com/show_bug.cgi?id=%s -{% if env == 'staging' %} +{% elif env == 'staging' %} buglink = https://partner-bugzilla.redhat.com/show_bug.cgi?id=%s {% endif %} @@ -570,7 +570,7 @@ debugtoolbar.hosts = 127.0.0.1 ::1 # sqlalchemy.url = sqlite:////var/cache/bodhi.db {% if env == 'production' %} sqlalchemy.url = postgresql://bodhi2:{{ bodhi2Password }}@db-bodhi/bodhi2 -{% if env == 'staging' %} +{% elif env == 'staging' %} sqlalchemy.url = postgresql://bodhi2:{{ bodhi2PasswordSTG }}@pgbdr.stg.phx2.fedoraproject.org/bodhi2 {% endif %} @@ -593,7 +593,7 @@ sqlalchemy.url = postgresql://bodhi2:{{ bodhi2PasswordSTG }}@pgbdr.stg.phx2.fedo {% if env == 'production' %} authtkt.secret = {{ bodhi2AuthTkt }} session.secret = {{ bodhi2SessionSecret }} -{% if env == 'staging' %} +{% elif env == 'staging' %} authtkt.secret = {{ bodhi2AuthTktSTG }} session.secret = {{ bodhi2SessionSecretSTG }} {% endif %} @@ -606,7 +606,7 @@ session.data_dir = %(here)s/data/sessions/data session.lock_dir = %(here)s/data/sessions/lock {% if env == 'production' %} session.key = {{ bodhi2SessionKey }} -{% if env == 'staging' %} +{% elif env == 'staging' %} session.key = {{ bodhi2SessionKeySTG }} {% endif %} session.cookie_on_exception = true