Add generic fedmsg config for bugzilla2fedmsg.
This commit is contained in:
parent
7bbe3e048c
commit
e4c35eb494
3 changed files with 18 additions and 0 deletions
13
roles/fedmsg/base/templates/endpoints-bugzilla2fedmsg.py.j2
Normal file
13
roles/fedmsg/base/templates/endpoints-bugzilla2fedmsg.py.j2
Normal file
|
@ -0,0 +1,13 @@
|
|||
{% if env == 'staging' %}
|
||||
suffix = 'stg.phx2.fedoraproject.org'
|
||||
{% else %}
|
||||
suffix = 'phx2.fedoraproject.org'
|
||||
{% endif %}
|
||||
|
||||
config = dict(
|
||||
endpoints={
|
||||
"bugzilla2fedmsg.bugzilla2fedmsg01": [
|
||||
"tcp://bugzilla2fedmsg01.%s:3000" % suffix,
|
||||
],
|
||||
},
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue