Override some more default bodhi masher config.
This commit is contained in:
parent
fd9e877a05
commit
f916bf5d6c
4 changed files with 24 additions and 4 deletions
|
@ -58,13 +58,17 @@
|
||||||
- config
|
- config
|
||||||
- bodhi
|
- bodhi
|
||||||
|
|
||||||
- name: Copy a logging configuration in for the fedmsg-hub
|
- name: Copy some fedmsg configuration of our own for fedmsg-hub
|
||||||
copy: >
|
template: >
|
||||||
src=bodhi-logging.py
|
src={{item}}
|
||||||
dest=/etc/fedmsg.d/bodhi-logging.py
|
dest=/etc/fedmsg.d/{{item}}
|
||||||
owner=root
|
owner=root
|
||||||
group=root
|
group=root
|
||||||
mode=0644
|
mode=0644
|
||||||
|
with_items:
|
||||||
|
- bodhi-logging.py
|
||||||
|
- bodhi.py
|
||||||
|
- masher.py
|
||||||
notify:
|
notify:
|
||||||
- restart fedmsg-hub
|
- restart fedmsg-hub
|
||||||
tags:
|
tags:
|
||||||
|
|
5
roles/bodhi2/base/templates/bodhi.py
Normal file
5
roles/bodhi2/base/templates/bodhi.py
Normal 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.
|
11
roles/bodhi2/base/templates/masher.py
Normal file
11
roles/bodhi2/base/templates/masher.py
Normal 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,
|
||||||
|
)
|
Loading…
Add table
Add a link
Reference in a new issue