Use the env_suffix on the bodhi fedmsg endpoint config.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
Randy Barlow 2018-04-17 01:47:11 +00:00
parent bfe9021c09
commit b88f44a32f

View file

@ -26,7 +26,7 @@ data:
'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'],
'bodhi.%s' % hostname: ['tcp://busgateway01{{ env_suffix }}.phx2.fedoraproject.org:9941'],
{% if env == 'staging' %}
'environment': 'stg',
# stg should listen to the stg bus