Files
fedora-infra_ansible/roles/fedmsg/base/templates/endpoints-bugzilla2fedmsg.py.j2
2016-03-29 01:59:25 +00:00

17 lines
445 B
Django/Jinja

{% if env == 'staging' %}
suffix = 'stg.phx2.fedoraproject.org'
{% else %}
suffix = 'phx2.fedoraproject.org'
{% endif %}
config = dict(
endpoints={
"bugzilla2fedmsg.bugzilla2fedmsg01": [
"tcp://bugzilla2fedmsg01.%s:3000" % suffix,
"tcp://bugzilla2fedmsg01.%s:3001" % suffix,
"tcp://bugzilla2fedmsg01.%s:3002" % suffix,
"tcp://bugzilla2fedmsg01.%s:3003" % suffix,
],
},
)