resultsdb-backend: undoing a url change for taskotron instance

Turns out that there are firewall changes needed for the Taskotron
instance of resultsdb to use the new rabbitmq uri.

Undoing that update until that change can be done
This commit is contained in:
Tim Flink 2019-05-24 00:09:30 +00:00
parent b2599f8d2f
commit 6c2a23d44f
2 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,11 @@
module allow-home-pid-files 1.0;
require {
type user_home_t;
type init_t;
class file { open read unlink };
}
#============= init_t ==============
allow init_t user_home_t:file { open read unlink };

View file

@ -1,7 +1,11 @@
# Configuration for fedora-messaging. This file is in the TOML format.
# For complete details on all configuration options, see the documentation.
{% if ansible_hostname == "resultsdb01.qa.fedoraproject.org" %}
amqp_url = "amqps://resultsdb{{ env_suffix }}:@rabbitmq01{{ env_suffix }}.phx2.fedoraproject.org/%2Fpubsub"
{% else %}
amqp_url = "amqps://resultsdb{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub"
{% endif %}
{% if env == "staging" %}
topic_prefix = "org.fedoraproject.stg"