mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-23 18:10:17 +08:00
No longer need this hotfix now that fmn backend is on rhel7.
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
# This file is managed by ansible.
|
||||
#
|
||||
# Its like "permanent hotfix" so that the fedmsg-hub loads
|
||||
# the forward-compat sqlalchemy.
|
||||
#
|
||||
|
||||
__requires__ = ['fedmsg', "sqlalchemy>=0.8"]
|
||||
import sys
|
||||
from pkg_resources import load_entry_point
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.exit(
|
||||
load_entry_point('fedmsg', 'console_scripts', 'fedmsg-hub')()
|
||||
)
|
||||
|
||||
@@ -32,17 +32,3 @@
|
||||
tags:
|
||||
- notifs
|
||||
- notifs/backend
|
||||
|
||||
# Here I'm "permanently" hotfixing the fedmsg-hub
|
||||
# It needs to load the forward-compat sqlalchemy0.7 package from the get-go.
|
||||
- name: copy over patched fedmsg-hub
|
||||
copy: >
|
||||
src=patched-fedmsg-hub dest=/usr/bin/fedmsg-hub
|
||||
owner=root group=root mode=0755
|
||||
tags:
|
||||
- notifs
|
||||
- notifs/backend
|
||||
- patches
|
||||
- hotfix
|
||||
notify:
|
||||
- restart fedmsg-hub
|
||||
|
||||
Reference in New Issue
Block a user