diff --git a/roles/waiverdb/templates/etc/waiverdb/settings.py.j2 b/roles/waiverdb/templates/etc/waiverdb/settings.py.j2 index 0ce4225333..df7d8084b9 100644 --- a/roles/waiverdb/templates/etc/waiverdb/settings.py.j2 +++ b/roles/waiverdb/templates/etc/waiverdb/settings.py.j2 @@ -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 %}