Add fedocal fedmsg endpoints.

This commit is contained in:
Ralph Bean 2014-01-28 18:51:52 +00:00
parent 79773578b5
commit e05439c3c6
2 changed files with 21 additions and 0 deletions

View file

@ -19,6 +19,7 @@
with_items:
- ssl.py
- endpoints.py
- endpoints-fedocal.py
- endpoints-fedbadges.py
- endpoints-nuancier.py
- endpoints-mailman.py

View file

@ -0,0 +1,20 @@
{% if env == 'staging' %}
suffix = 'stg.phx2.fedoraproject.org'
{% else %}
suffix = 'phx2.fedoraproject.org'
{% endif %}
config = dict(
endpoints={
"fedocal.fedocal01": [
"tcp://fedocal01.%s:30%02i" % (suffix, i)
for i in range(2)
],
{% if env != 'staging' %}
"fedocal.fedocal02": [
"tcp://fedocal02.%s:30%02i" % (suffix, i)
for i in range(2)
],
{% endif %}
},
)