Use the fedmsg vars I setup for this instead of trying to overwrite them with a file.

This commit is contained in:
Ralph Bean 2015-10-13 17:49:01 +00:00
parent 76e7ac4ec7
commit b3c67cbc8a
4 changed files with 6 additions and 14 deletions

View file

@ -39,6 +39,9 @@ external_hostname: taskotron.fedoraproject.org
allowed_hosts:
- 10.5.124
fedmsg_active: True
fedmsg_cert_prefix: resultsdb
fedmsg_certs:
- service: shell
owner: root

View file

@ -53,6 +53,9 @@ execdb_secret_key: "{{ stg_execdb_secret_key }}"
# fedmsg details
############################################################
fedmsg_active: True
fedmsg_cert_prefix: resultsdb
fedmsg_certs:
- service: shell
owner: root

View file

@ -1,10 +0,0 @@
config = {
# This should switch fedmsg from passive mode to active mode
# which instructs it to connect out to the fedmsg-relay instance described
# in /etc/fedmsg.d/relay.py instead of binding to ports and waiting for
# listeners. We need this so that we can push our messages on to the
# fedora-infra proper bus from over in the QA network.
'active': True,
'name': 'relay_inbound',
'cert_prefix': 'resultsdb',
}

View file

@ -1,6 +1,2 @@
- copy: src=resultsdb.py dest=/etc/fedmsg.d/resultsdb.py
notify:
- restart httpd
- name: ensure selinux lets httpd talk to the fedmsg-relay
seboolean: name=httpd_can_network_connect persistent=yes state=yes