summaryrefslogtreecommitdiffstats
path: root/roles/bugzilla2fedmsg/templates
diff options
context:
space:
mode:
authorRalph Bean <rbean@redhat.com>2014-06-24 14:32:06 +0000
committerRalph Bean <rbean@redhat.com>2014-06-24 14:32:06 +0000
commite3f8c50b234d5be9fc8e20a73999abd290673580 (patch)
tree1d6d327e8c7027bfee292d9a6bfe39e844504e95 /roles/bugzilla2fedmsg/templates
parentc760b15d9ff3bb50a3fa667e898c74382a3b0a9c (diff)
downloadansible-e3f8c50b234d5be9fc8e20a73999abd290673580.tar.gz
ansible-e3f8c50b234d5be9fc8e20a73999abd290673580.tar.xz
ansible-e3f8c50b234d5be9fc8e20a73999abd290673580.zip
A role for bugzilla2fedmsg.
Diffstat (limited to 'roles/bugzilla2fedmsg/templates')
-rw-r--r--roles/bugzilla2fedmsg/templates/bugzilla2fedmsg.ini30
1 files changed, 30 insertions, 0 deletions
diff --git a/roles/bugzilla2fedmsg/templates/bugzilla2fedmsg.ini b/roles/bugzilla2fedmsg/templates/bugzilla2fedmsg.ini
new file mode 100644
index 000000000..0e5f63f6d
--- /dev/null
+++ b/roles/bugzilla2fedmsg/templates/bugzilla2fedmsg.ini
@@ -0,0 +1,30 @@
+# 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 = 2
+
+# These are credentials used to log in to bugzilla
+bugzilla.url = https://bugzilla.redhat.com
+bugzilla.username = {{ bugzilla_user }}
+bugzilla.password = {{ bugzilla_password }}
+
+# Stomp broker configuration.
+{% if env == 'staging %}
+stomp_uri = fuse-fabric-01.stg.jboss.org:61617,fuse-fabric-02.stg.jboss.org:61617,fuse-fabric-03.stg.jboss.org:61617
+stomp_ssl_crt = /etc/fedmsg/pki/fedora.devel.engineering.redhat.com.crt
+stomp_ssl_key = /etc/fedmsg/pki/fedora.devel.engineering.redhat.com.key
+{% 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/fedmsg/pki/fuse-fabric-fedoraproject.org.crt
+stomp_ssl_key = /etc/fedmsg/pki/fuse-fabric-fedoraproject.org.key
+{% endif %}
+
+stomp_user = {{ redhat_dmz_broker_username }}
+stomp_pass = {{ redhat_dmz_broker_password }}
+