bugzilla2fedmsg: fix config

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2019-12-10 15:02:30 +01:00 committed by Pierre-Yves Chibon
parent cd23763ac4
commit cb30c5d7ea

View file

@ -22,16 +22,15 @@ certfile = "/etc/pki/fedora-messaging/bugzilla2fedmsg-cert.pem"
# Broker URI
# http://nikipore.github.io/stompest/protocol.html#stompest.protocol.failover.StompFailoverUri
# Example: failover:(tcp://remote1:61615,tcp://localhost:61616)?randomize=false,startupMaxReconnectAttempts=3,initialReconnectDelay=7,maxReconnectDelay=8,maxReconnectAttempts=0
uri = "ssl://localhost:61612"
{% if env == 'staging' %}
{% if env == 'staging' %}
uri = "failover:(ssl://messaging-devops-broker01.dist.stage.ext.phx2.redhat.com:61612,ssl://messaging-devops-broker02.dist.stage.ext.phx2.redhat.com:61612)"
user = "{{ redhat_dmz_dev_broker_username }}"
pass = "{{ redhat_dmz_dev_broker_password }}"
{% else %}
{% else %}
uri = "failover:(ssl://messaging-devops-broker01.dist.prod.ext.phx2.redhat.com:61612,ssl://messaging-devops-broker02.dist.prod.ext.phx2.redhat.com:61612)"
user = "{{ redhat_dmz_prod_broker_username }}"
pass = "{{ redhat_dmz_prod_broker_password }}"
{% endif %}
{% endif %}
ssl_crt = "/etc/pki/stomp/msg-client-fedora-prod.crt"
ssl_key = "/etc/pki/stomp/msg-client-fedora-prod.key"