Fix the fedmsg plugin on the s390 koji hub.

This commit is contained in:
Ralph Bean 2015-07-28 17:29:57 +00:00
parent e7b1e89452
commit eb5ab70642
6 changed files with 10 additions and 2 deletions

View file

@ -17,3 +17,5 @@ keepalived_ipaddress: 10.5.125.63/24
nrpe_procs_warn: 900
nrpe_procs_crit: 1000
fedmsg_koji_instance: primary

View file

@ -8,3 +8,5 @@ volgroup: /dev/vg_guests
eth0_ip: 10.5.126.87
vmhost: virthost10.phx2.fedoraproject.org
datacenter: phx2
fedmsg_koji_instance: primary

View file

@ -17,3 +17,5 @@ keepalived_ipaddress: 10.5.125.63/24
nrpe_procs_warn: 900
nrpe_procs_crit: 1000
fedmsg_koji_instance: primary

View file

@ -32,3 +32,5 @@ virt_install_command: virt-install -n {{ inventory_hostname }} -r {{ mem_size }}
koji_topurl: "http://s390pkgs.fedoraproject.org/"
koji_server_url: "http://s390.koji.fedoraproject.org/kojihub"
koji_weburl: "http://s390.koji.fedoraproject.org/koji"
fedmsg_koji_instance: s390

View file

@ -69,7 +69,7 @@
- koji_hub
- name: koji fedmsg plugin
copy: src=fedmsg-koji-plugin.py dest=/usr/lib/koji-hub-plugins/fedmsg-koji-plugin.py
template: src=fedmsg-koji-plugin.py dest=/usr/lib/koji-hub-plugins/fedmsg-koji-plugin.py
notify:
- restart httpd
tags:

View file

@ -146,7 +146,7 @@ def send_message(cbtype, *args, **kws):
# We need this to distinguish between messages from primary koji
# and the secondary hubs off for s390 and ppc.
body['instance'] = 'primary'
body['instance'] = '{{ fedmsg_koji_instance }}'
# Don't publish these uninformative rpm.sign messages if there's no actual
# sigkey present. Koji apparently adds a dummy sig value when rpms are