Play nicely with the magic that bodhi adds on top of fedmsg magic
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
e34e637b1e
commit
bfe9021c09
1 changed files with 2 additions and 0 deletions
|
@ -19,12 +19,14 @@ metadata:
|
|||
data:
|
||||
bodhi-openshift-web.py: |-
|
||||
import socket
|
||||
hostname = socket.gethostname().split('.', 1)[0]
|
||||
config = {
|
||||
'sign_messages': True,
|
||||
'active': True,
|
||||
'cert_prefix': 'bodhi',
|
||||
'certnames': {'bodhi.{}'.format(socket.gethostname()): 'bodhi'},
|
||||
'relay_inbound': ['tcp://busgateway01{{ env_suffix }}.phx2.fedoraproject.org:9941'],
|
||||
'bodhi.%s' % hostname: ['tcp://busgateway01.stg.phx2.fedoraproject.org:9941'],
|
||||
{% if env == 'staging' %}
|
||||
'environment': 'stg',
|
||||
# stg should listen to the stg bus
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue