Try to fix the bridges config

This commit is contained in:
Aurélien Bompard 2019-03-05 14:55:35 +00:00
parent f6fc04578b
commit 48f21eea68

View file

@ -243,13 +243,15 @@ data:
'cert_prefix': 'fedmsg-migration-tools', 'cert_prefix': 'fedmsg-migration-tools',
'certnames': {'fedmsg-migration-tools.{}'.format(socket.gethostname()): 'fedmsg-migration-tools'}, 'certnames': {'fedmsg-migration-tools.{}'.format(socket.gethostname()): 'fedmsg-migration-tools'},
'relay_inbound': 'tcp://busgateway01{{ env_suffix }}.phx2.fedoraproject.org:9941', 'relay_inbound': 'tcp://busgateway01{{ env_suffix }}.phx2.fedoraproject.org:9941',
'bodhi.%s' % hostname: ['tcp://busgateway01{{ env_suffix }}.phx2.fedoraproject.org:9941'],
'environment': '{{ env }}', 'environment': '{{ env }}',
{% if env == 'staging' %} {% if env == 'staging' %}
# stg should listen to the stg bus # stg should listen to the stg bus
'endpoints': { 'endpoints': {
'staging_gateway': ['tcp://stg.fedoraproject.org:9940'] 'staging_gateway': ['tcp://stg.fedoraproject.org:9940']
}, },
'environment': 'stg',
{% else %}
'environment': 'prod',
{% endif %} {% endif %}
"validate_signatures": True, "validate_signatures": True,
"crypto_backend": 'x509', "crypto_backend": 'x509',