From 22b1a285abbd6d239a9104bb668935dff5080d9b Mon Sep 17 00:00:00 2001 From: Jeremy Cline Date: May 14 2019 14:09:47 +0000 Subject: bodhi: use passive declares in fedora-messaging AMQP clients don't have permission to create objects, so they can only validate the objects exist with passive declarations. --- diff --git a/roles/bodhi2/base/templates/fedora-messaging.toml.j2 b/roles/bodhi2/base/templates/fedora-messaging.toml.j2 index 092e1a6..1062368 100644 --- a/roles/bodhi2/base/templates/fedora-messaging.toml.j2 +++ b/roles/bodhi2/base/templates/fedora-messaging.toml.j2 @@ -7,7 +7,7 @@ topic_prefix = "org.fedoraproject.prod" {% endif %} publish_exchange = "amq.topic" -passive_declares = false +passive_declares = true {# If bodhi_message_routing_keys is defined, this must be a consumer so let's also set up the consumer config. #}