Fix template.

This commit is contained in:
Kevin Fenzi 2014-05-21 16:59:25 +00:00
parent 6bc2f3f623
commit 317360d13b

View file

@ -15,11 +15,11 @@
# This is for local development purposes. It won't be used for
# production.
{{ if environment == "staging" }}
{% if env == "staging" %}
sqlobject.dburi="notrans_postgres://mirroradmin:{{= mirrorPassword }}@db-mirrormanager.stg:5432/mirrormanager"
{{ else }}
{% else %}
sqlobject.dburi="notrans_postgres://mirroradmin:{{= mirrorPassword }}@db-mirrormanager:5432/mirrormanager"
{{ end }}
{% end %}
# if you are using a database or table type without transactions
# (MySQL default, for example), you should turn off transactions
@ -97,11 +97,11 @@ mrr.repos = ''' {
} '''
base_url_filter.on = True
{{ if environment == "staging" }}
{% if env == "staging" %}
base_url_filter.base_url = "https://admin.stg.fedoraproject.org"
{{ else }}
{% else %}
base_url_filter.base_url = "https://admin.fedoraproject.org"
{{ end }}
{% end %}
base_url_filter.use_x_forwarded_host = False
[/xmlrpc]