fix conditionals
This commit is contained in:
parent
f75c4dfc55
commit
56e9dd9dee
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue