From 4b183e75cac2b40445d9aed53a542b9bf3aea2b7 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Jun 08 2019 02:14:24 +0000 Subject: openqa/dispatcher: don't use staging auth for scheduler As it listens to the prod broker. Signed-off-by: Adam Williamson --- diff --git a/roles/openqa/dispatcher/templates/fedora_openqa_scheduler.toml.j2 b/roles/openqa/dispatcher/templates/fedora_openqa_scheduler.toml.j2 index fe8247b..41a0253 100644 --- a/roles/openqa/dispatcher/templates/fedora_openqa_scheduler.toml.j2 +++ b/roles/openqa/dispatcher/templates/fedora_openqa_scheduler.toml.j2 @@ -11,15 +11,9 @@ amqp_url = "amqps://fedora:@rabbitmq.fedoraproject.org/%2Fpublic_pubsub" callback = "fedora_openqa.consumer:OpenQAScheduler" [tls] -{% if deployment_type is defined and deployment_type == 'stg' %} -ca_cert = "/etc/fedora-messaging/stg-cacert.pem" -keyfile = "/etc/fedora-messaging/fedora.stg-key.pem" -certfile = "/etc/fedora-messaging/fedora.stg-cert.pem" -{% else %} ca_cert = "/etc/fedora-messaging/cacert.pem" keyfile = "/etc/fedora-messaging/fedora-key.pem" certfile = "/etc/fedora-messaging/fedora-cert.pem" -{% endif %} [client_properties] app = "Fedora openQA"