Declare fedmsg endpoints for mbs backend.
This commit is contained in:
parent
9737313f5d
commit
17d4fe3c1e
2 changed files with 15 additions and 0 deletions
|
@ -109,6 +109,7 @@
|
|||
- endpoints-fedocal.py
|
||||
- endpoints-fedbadges.py
|
||||
- endpoints-fmn-backend.py
|
||||
- endpoints-mbs-backend.py
|
||||
- endpoints-hotness.py
|
||||
- endpoints-mailman.py
|
||||
- endpoints-summershum.py
|
||||
|
|
14
roles/fedmsg/base/templates/endpoints-mbs-backend.py.j2
Normal file
14
roles/fedmsg/base/templates/endpoints-mbs-backend.py.j2
Normal file
|
@ -0,0 +1,14 @@
|
|||
{% if env == 'staging' %}
|
||||
suffix = 'stg.phx2.fedoraproject.org'
|
||||
{% else %}
|
||||
suffix = 'phx2.fedoraproject.org'
|
||||
{% endif %}
|
||||
|
||||
config = dict(
|
||||
endpoints={
|
||||
"mbs.mbs-backend01": [
|
||||
"tcp://mbs-backend01.%s:30%0.2i" % (suffix, i)
|
||||
for i in range(8)
|
||||
],
|
||||
},
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue