diff --git a/roles/notifs/backend/files/patched-fedmsg-hub b/roles/notifs/backend/files/patched-fedmsg-hub deleted file mode 100644 index e9e305bbab..0000000000 --- a/roles/notifs/backend/files/patched-fedmsg-hub +++ /dev/null @@ -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')() - ) - diff --git a/roles/notifs/backend/tasks/main.yml b/roles/notifs/backend/tasks/main.yml index 0544f05262..89f9243d84 100644 --- a/roles/notifs/backend/tasks/main.yml +++ b/roles/notifs/backend/tasks/main.yml @@ -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