ansible/roles/bugzilla2fedmsg/templates/bugzilla2fedmsg.ini
2015-10-30 15:08:09 +00:00

45 lines
1.5 KiB
INI

# moksha configuration without fedmsg
[app:main]
# Some configuration for our workers
bugzilla.products = Fedora, Fedora EPEL
# If you have 8 worker threads you *also* need 8 fedmsg endpoints in fedmsg.d/
# and 8 open holes in the firewall
bugzilla.num_workers = 1
moksha.workers_per_consumer = 2
moksha.threadpool_size = 5
# These are credentials used to log in to bugzilla
{% if env == 'staging' %}
bugzilla.url = https://partner-bugzilla.redhat.com
{% else %}
bugzilla.url = https://bugzilla.redhat.com
{% endif %}
bugzilla.username = {{ bugzilla_user }}
bugzilla.password = {{ bugzilla_password }}
# Stomp broker configuration.
{% if env == 'staging' %}
stomp_uri = messaging-devops-broker01.dev1.ext.devlab.redhat.com:61612,messaging-devops-broker02.dev1.ext.devlab.redhat.com:61612
stomp_ssl_crt = /etc/pki/fedmsg/msg-client-fedora-dev.crt
stomp_ssl_key = /etc/pki/fedmsg/msg-client-fedora-dev.key
stomp_user = {{ redhat_dmz_dev_broker_username }}
stomp_pass = {{ redhat_dmz_dev_broker_password }}
{% else %}
stomp_uri = fuse-fabric-01.jboss.org:61617,fuse-fabric-02.jboss.org:61617,fuse-fabric-03.jboss.org:61617
stomp_ssl_crt = /etc/pki/fedmsg/fuse-fabric-fedoraproject.org.crt
stomp_ssl_key = /etc/pki/fedmsg/fuse-fabric-fedoraproject.org.key
stomp_user = {{ redhat_dmz_prod_broker_username }}
stomp_pass = {{ redhat_dmz_prod_broker_password }}
{% endif %}
stomp_heartbeat = 1000
moksha.monitoring.socket = ipc:///var/run/fedmsg/monitoring-moksha-hub.socket
moksha.monitoring.socket.mode = 770