Override some more default bodhi masher config.

This commit is contained in:
Ralph Bean 2015-08-18 22:55:13 +00:00
parent fd9e877a05
commit f916bf5d6c
4 changed files with 24 additions and 4 deletions

View file

@ -58,13 +58,17 @@
- config
- bodhi
- name: Copy a logging configuration in for the fedmsg-hub
copy: >
src=bodhi-logging.py
dest=/etc/fedmsg.d/bodhi-logging.py
- name: Copy some fedmsg configuration of our own for fedmsg-hub
template: >
src={{item}}
dest=/etc/fedmsg.d/{{item}}
owner=root
group=root
mode=0644
with_items:
- bodhi-logging.py
- bodhi.py
- masher.py
notify:
- restart fedmsg-hub
tags:

View file

@ -0,0 +1,5 @@
# This file is empty on purpose.
#
# The bodhi-server rpm ships an /etc/fedmsg.d/bodhi.py file by default that has
# some nice local settings for testing, but which don't make sense for our
# infrastructure. So... we overwrite it with this empty file.

View file

@ -0,0 +1,11 @@
{% if env == 'staging' %}
suffix = 'stg.phx2.fedoraproject.org'
{% else %}
suffix = 'phx2.fedoraproject.org'
{% endif %}
config = dict(
masher=True,
masher_topic='bodhi.masher.start',
releng_fedmsg_certname='shell-bodhi-backend01.%s' % suffix,
)