waiverdb role:fix the conditional check in the settings.py template

This commit is contained in:
Matt Jia 2017-05-17 11:59:57 +10:00
parent 4a1e51c654
commit 6da940f3fd
No known key found for this signature in database
GPG key ID: 496C2CDC1EF01F5D

View file

@ -9,6 +9,8 @@ SQLALCHEMY_DATABASE_URI = 'postgresql://waiverdb-user@:{{ waiverdb_db_port }}/wa
OIDC_CLIENT_SECRETS = '/etc/waiverdb/client_secrets.json'
OIDC_REQUIRED_SCOPE = 'https://waiverdb.fedoraproject.org/oidc/create-waiver'
OIDC_RESOURCE_SERVER_ONLY = True
{% if env != "production" and env != "staging" %}
{% if env == "production" or env == "staging" %}
ZEROMQ_PUBLISH = True
{% else %}
ZEROMQ_PUBLISH = False
{% endif %}