bodhi: fix some old phx2 datacenter references.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
9a09a926ab
commit
b845ffb60b
2 changed files with 2 additions and 4 deletions
|
@ -29,7 +29,7 @@ data:
|
||||||
.fedoraproject.org = FEDORAPROJECT.ORG
|
.fedoraproject.org = FEDORAPROJECT.ORG
|
||||||
fedoraproject.org = FEDORAPROJECT.ORG
|
fedoraproject.org = FEDORAPROJECT.ORG
|
||||||
{% if env == "staging" %}
|
{% if env == "staging" %}
|
||||||
.stg.phx2.fedoraproject.org = STG.FEDORAPROJECT.ORG
|
.stg.iad2.fedoraproject.org = STG.FEDORAPROJECT.ORG
|
||||||
{% endif %}
|
{% endif %}
|
||||||
.stg.fedoraproject.org = STG.FEDORAPROJECT.ORG
|
.stg.fedoraproject.org = STG.FEDORAPROJECT.ORG
|
||||||
stg.fedoraproject.org = STG.FEDORAPROJECT.ORG
|
stg.fedoraproject.org = STG.FEDORAPROJECT.ORG
|
||||||
|
|
|
@ -698,9 +698,7 @@ debugtoolbar.hosts = 127.0.0.1 ::1
|
||||||
# suitable for a production environment. You can encode a username and password in the URL. For
|
# suitable for a production environment. You can encode a username and password in the URL. For
|
||||||
# example, postgresql://username:password@hostname/database_name
|
# example, postgresql://username:password@hostname/database_name
|
||||||
# sqlalchemy.url = sqlite:////var/cache/bodhi.db
|
# sqlalchemy.url = sqlite:////var/cache/bodhi.db
|
||||||
{% if env == 'production' and datacenter == 'phx2' %}
|
{% if env == 'production' %}
|
||||||
sqlalchemy.url = postgresql://bodhi2:{{ bodhi2Password }}@db-bodhi.phx2.fedoraproject.org/bodhi2
|
|
||||||
{% elif env == 'production' and datacenter == 'iad2' %}
|
|
||||||
sqlalchemy.url = postgresql://bodhi2:{{ bodhi2Password }}@db-bodhi.iad2.fedoraproject.org/bodhi2
|
sqlalchemy.url = postgresql://bodhi2:{{ bodhi2Password }}@db-bodhi.iad2.fedoraproject.org/bodhi2
|
||||||
{% elif env == 'staging' %}
|
{% elif env == 'staging' %}
|
||||||
sqlalchemy.url = postgresql://bodhi2:{{ bodhi2PasswordSTG }}@db01.stg.iad2.fedoraproject.org/bodhi2
|
sqlalchemy.url = postgresql://bodhi2:{{ bodhi2PasswordSTG }}@db01.stg.iad2.fedoraproject.org/bodhi2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue