Config for the bodhi backend updates_handler.

This commit is contained in:
Ralph Bean 2015-09-01 17:54:36 +00:00
parent fc0cf8b618
commit e50f2d7c48
3 changed files with 15 additions and 0 deletions

View file

@ -70,6 +70,7 @@
- bodhi-threading.py
- bodhi.py
- masher.py
- updates_handler.py
notify:
- restart fedmsg-hub
tags:

View file

@ -5,7 +5,13 @@ suffix = 'phx2.fedoraproject.org'
{% endif %}
config = dict(
# Note, the masher runs on bodhi-backend01, while other consumers will run
# on bodhi-backend02.
{% if inventory_hostname.startswith('bodhi-backend01') %}
masher=True,
{% else %}
masher=False,
{% endif %}
masher_topic='bodhi.masher.start',
releng_fedmsg_certname='shell-bodhi-backend01.%s' % suffix,
)

View file

@ -0,0 +1,8 @@
config = dict(
# TODO -- we're thinking about moving this to bodhi-backend02
{% if inventory_hostname.startswith('bodhi-backend01') %}
updates_handler=True,
{% else %}
updates_handler=False,
{% endif %}
)