fedmsg cert stuff for bodhi-backend.

This commit is contained in:
Ralph Bean 2015-08-18 21:06:48 +00:00
parent 6ebaccd760
commit 6a5dbd8bc5
2 changed files with 28 additions and 16 deletions

View file

@ -28,9 +28,15 @@ host_group: releng
# These are consumed by a task in roles/fedmsg/base/main.yml # These are consumed by a task in roles/fedmsg/base/main.yml
fedmsg_certs: fedmsg_certs:
# This first cert is used by the push-tool. releng members run it and it fires
# off a simple fedmsg message that the masher (running as fedmsg-hub) is
# listening for. It then does all the worker.
- service: shell - service: shell
owner: root owner: root
group: root group: releng
can_send:
- bodhi.masher.start
# These are certs for the masher to publish its own messages as it progresses.
- service: bodhi - service: bodhi
owner: root owner: root
group: masher group: masher

View file

@ -27,20 +27,26 @@ host_group: releng
# These are consumed by a task in roles/fedmsg/base/main.yml # These are consumed by a task in roles/fedmsg/base/main.yml
fedmsg_certs: fedmsg_certs:
# This first cert is used by the push-tool. releng members run it and it fires
# off a simple fedmsg message that the masher (running as fedmsg-hub) is
# listening for. It then does all the worker.
- service: shell - service: shell
owner: root owner: root
group: root group: releng
#- service: bodhi can_send:
# owner: root - bodhi.masher.start
# group: masher # These are certs for the masher to publish its own messages as it progresses.
# can_send: - service: bodhi
# - bodhi.mashtask.complete owner: root
# - bodhi.mashtask.mashing group: masher
# - bodhi.mashtask.start can_send:
# - bodhi.mashtask.sync.done - bodhi.mashtask.complete
# - bodhi.mashtask.sync.wait - bodhi.mashtask.mashing
# - bodhi.errata.publish - bodhi.mashtask.start
# - bodhi.update.eject - bodhi.mashtask.sync.done
# # The ftp sync messages get run here too. - bodhi.mashtask.sync.wait
# - bodhi.updates.epel.sync - bodhi.errata.publish
# - bodhi.updates.fedora.sync - bodhi.update.eject
# The ftp sync messages get run here too.
- bodhi.updates.epel.sync
- bodhi.updates.fedora.sync