resultsdb-dev: turn off fedmsg publishing

Turns out we don't want fedmsgs to be published from dev, we just added
a new config option that was not properly disabled on dev and that
caused the confusion.
This commit is contained in:
Kamil Páral 2018-05-16 04:56:12 +02:00
parent 0e46cce112
commit 8561ed8031
2 changed files with 2 additions and 22 deletions

View file

@ -49,23 +49,3 @@ execdb_db_name: execdb_dev
execdb_db_user: "{{ dev_execdb_db_user }}"
execdb_db_password: "{{ dev_execdb_db_password }}"
execdb_secret_key: "{{ dev_execdb_secret_key }}"
############################################################
# fedmsg details
############################################################
fedmsg_active: True
fedmsg_cert_prefix: resultsdb
fedmsg_certs:
- service: shell
owner: root
group: sysadmin
can_send:
- logger.log
- service: resultsdb
owner: root
group: apache
can_send:
- taskotron.result.new
- resultsdb.result.new

View file

@ -5,13 +5,13 @@ LOGFILE = '/var/log/resultsdb/resultsdb.log'
SYSLOG_LOGGING = False
STREAM_LOGGING = True
{% if deployment_type in ['local', 'dev']%}
MESSAGE_BUS_PUBLISH = False
MESSAGE_BUS_PUBLISH_TASKOTRON = False
{% else %}
MESSAGE_BUS_PUBLISH = True
MESSAGE_BUS_PUBLISH_TASKOTRON = True
{% endif %}
MESSAGE_BUS_PLUGIN = 'fedmsg'
MESSAGE_BUS_KWARGS = {'modname': 'resultsdb'}
MESSAGE_BUS_PUBLISH_TASKOTRON = True