Config for the bodhi backend updates_handler.
This commit is contained in:
parent
fc0cf8b618
commit
e50f2d7c48
3 changed files with 15 additions and 0 deletions
|
@ -70,6 +70,7 @@
|
|||
- bodhi-threading.py
|
||||
- bodhi.py
|
||||
- masher.py
|
||||
- updates_handler.py
|
||||
notify:
|
||||
- restart fedmsg-hub
|
||||
tags:
|
||||
|
|
|
@ -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,
|
||||
)
|
||||
|
|
8
roles/bodhi2/base/templates/updates_handler.py
Normal file
8
roles/bodhi2/base/templates/updates_handler.py
Normal 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 %}
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue