We hit a problem every time we do updates and we update the fedmsg-gateway package on the proxies.
Perhaps we could install an empty dummy endpoints.py file and an empty dummy gateway.py file (instead of removing the ones installed by the rpm). The files are marked correctly with %config(noreplace) in rpm, so that would stop yum/dnf from installing the defaults back in place.
Created a ticket for this because I don't have time to commit to fixing it at the moment. ;)
I think empty files would work best as long as nothing would error out parsing them.
This should be fixed with https://infrastructure.fedoraproject.org/cgit/ansible.git/commit/?id=9fdaee131cbd5c7fa68f7b22e08771223fdbdbcb
Login to comment on this ticket.