This installs configuration and certificates to enable sending messages to the bus using fedora-messaging. Signed-off-by: Nils Philippsen <nils@redhat.com>
18 lines
483 B
Django/Jinja
18 lines
483 B
Django/Jinja
amqp_url = "amqps://logging{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub"
|
|
|
|
{% if env == "staging" %}
|
|
topic_prefix = "org.fedoraproject.stg"
|
|
{% else %}
|
|
topic_prefix = "org.fedoraproject.prod"
|
|
{% endif %}
|
|
|
|
publish_exchange = "amq.topic"
|
|
passive_declares = true
|
|
|
|
[tls]
|
|
ca_cert = "/etc/pki/fedora-messaging/rabbitmq-ca.crt"
|
|
keyfile = "/etc/pki/fedora-messaging/logging.key"
|
|
certfile = "/etc/pki/fedora-messaging/logging.crt"
|
|
|
|
[client_properties]
|
|
app = "logging"
|