prod loopback for stg darkserver-backend.

This commit is contained in:
Ralph Bean 2016-01-29 21:48:33 +00:00
parent bcbb477bce
commit acee8317f9
2 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,11 @@
# This file is for staging only.
# It instructs all fedmsg processes on this machine to listen to the production
# bus.. as a kind of loopback. We have this here so staging darkserver can test
# against all of the prod activity.
config = {
'endpoints': {
'production-loopback': [
'tcp://hub.fedoraproject.org:9940',
],
},
}

View file

@ -9,6 +9,11 @@
notify:
- restart fedmsg-hub
- name: install a loopback so we listen to the prod fedmsg bus (only in staging)
copy: src=loopback.py dest=/etc/fedmsg.d/loopback.py
notify: restart fedmsg-hub
when: environment == 'staging'
- name: email.json file
copy: src=email.json dest=/etc/darkserver/email.json owner=root group=root mode=0644