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
|
# bz_server = https://bugzilla.redhat.com/xmlrpc.cgi
|
||||||
{% if env == 'production' %}
|
{% if env == 'production' %}
|
||||||
bz_server = https://bugzilla.redhat.com/xmlrpc.cgi
|
bz_server = https://bugzilla.redhat.com/xmlrpc.cgi
|
||||||
{% if env == 'staging' %}
|
{% elif env == 'staging' %}
|
||||||
bz_server = https://partner-bugzilla.redhat.com/xmlrpc.cgi
|
bz_server = https://partner-bugzilla.redhat.com/xmlrpc.cgi
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -416,7 +416,7 @@ bz_products = Fedora,Fedora EPEL
|
||||||
# buglink = https://bugzilla.redhat.com/show_bug.cgi?id=%s
|
# buglink = https://bugzilla.redhat.com/show_bug.cgi?id=%s
|
||||||
{% if env == 'production' %}
|
{% if env == 'production' %}
|
||||||
buglink = https://bugzilla.redhat.com/show_bug.cgi?id=%s
|
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
|
buglink = https://partner-bugzilla.redhat.com/show_bug.cgi?id=%s
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -570,7 +570,7 @@ debugtoolbar.hosts = 127.0.0.1 ::1
|
||||||
# sqlalchemy.url = sqlite:////var/cache/bodhi.db
|
# sqlalchemy.url = sqlite:////var/cache/bodhi.db
|
||||||
{% if env == 'production' %}
|
{% if env == 'production' %}
|
||||||
sqlalchemy.url = postgresql://bodhi2:{{ bodhi2Password }}@db-bodhi/bodhi2
|
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
|
sqlalchemy.url = postgresql://bodhi2:{{ bodhi2PasswordSTG }}@pgbdr.stg.phx2.fedoraproject.org/bodhi2
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -593,7 +593,7 @@ sqlalchemy.url = postgresql://bodhi2:{{ bodhi2PasswordSTG }}@pgbdr.stg.phx2.fedo
|
||||||
{% if env == 'production' %}
|
{% if env == 'production' %}
|
||||||
authtkt.secret = {{ bodhi2AuthTkt }}
|
authtkt.secret = {{ bodhi2AuthTkt }}
|
||||||
session.secret = {{ bodhi2SessionSecret }}
|
session.secret = {{ bodhi2SessionSecret }}
|
||||||
{% if env == 'staging' %}
|
{% elif env == 'staging' %}
|
||||||
authtkt.secret = {{ bodhi2AuthTktSTG }}
|
authtkt.secret = {{ bodhi2AuthTktSTG }}
|
||||||
session.secret = {{ bodhi2SessionSecretSTG }}
|
session.secret = {{ bodhi2SessionSecretSTG }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -606,7 +606,7 @@ session.data_dir = %(here)s/data/sessions/data
|
||||||
session.lock_dir = %(here)s/data/sessions/lock
|
session.lock_dir = %(here)s/data/sessions/lock
|
||||||
{% if env == 'production' %}
|
{% if env == 'production' %}
|
||||||
session.key = {{ bodhi2SessionKey }}
|
session.key = {{ bodhi2SessionKey }}
|
||||||
{% if env == 'staging' %}
|
{% elif env == 'staging' %}
|
||||||
session.key = {{ bodhi2SessionKeySTG }}
|
session.key = {{ bodhi2SessionKeySTG }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
session.cookie_on_exception = true
|
session.cookie_on_exception = true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue