diff --git a/roles/fedimg/templates/fedmsg.d/fedimg.py b/roles/fedimg/templates/fedmsg.d/fedimg.py index 2b4c6a6118..b5a3f141a6 100644 --- a/roles/fedimg/templates/fedmsg.d/fedimg.py +++ b/roles/fedimg/templates/fedmsg.d/fedimg.py @@ -17,8 +17,17 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # # Authors: David Gay +# Ralph Bean # config = dict( kojiconsumer=True, + {% if env == 'staging' %} + # Establish a loop from production back into the staging instance. + endpoints = { + "production-loopback": [ + "tcp://hub.fedoraproject.org:9940", + ], + }, + {% endif %} )