summaryrefslogtreecommitdiffstats
path: root/roles/fedmsg/base/templates/endpoints-bugzilla2fedmsg.py.j2
blob: e91a55f5f22a49a9ae71092168912132c5019dd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{% 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,
        ],
    },
)