Files
fedora-infra_ansible/roles/fedmsg/base/templates/endpoints-mailman.py.j2
2014-07-23 16:39:47 +00:00

17 lines
460 B
Django/Jinja

{% if env == 'staging' %}
suffix = 'stg.phx2.fedoraproject.org'
{% else %}
suffix = 'phx2.fedoraproject.org'
{% endif %}
config = dict(
endpoints={
# We need an endpoint for each of the mailman pieces that picks up and
# imports our plugin. So far that's the 'archiver' and the 'pipeline'.
"mailman.mailman01": [
"tcp://mailman01.%s:3000" % suffix,
"tcp://mailman01.%s:3001" % suffix,
],
},
)