{% if datacenter == 'iad2' %}
{% if env == 'staging' %}
suffix  = 'stg.iad2.fedoraproject.org'
{% else %}
suffix = 'iad2.fedoraproject.org'
vpn_suffix = 'vpn.fedoraproject.org'
{% endif %}
{% else %}
{% if env == 'staging' %}
suffix  = 'stg.fedoraproject.org'
{% else %}
suffix = 'fedoraproject.org'
vpn_suffix = 'vpn.fedoraproject.org'
{% endif %}
{% endif %}

config = dict(
    endpoints={
        "fedbadges.badges-backend01": [
            "tcp://badges-backend01.%s:3000" % suffix,
            "tcp://badges-backend01.%s:3001" % suffix,
            "tcp://badges-backend01.%s:3002" % suffix,
            "tcp://badges-backend01.%s:3003" % suffix,
        ],
    },
)
