Include oslo.messaging amqp support for rpc and notifications
authorAndrew Smith <ansmith@redhat.com>
Sun, 19 Mar 2017 21:07:47 +0000 (17:07 -0400)
committerAndrew Smith <ansmith@redhat.com>
Tue, 21 Mar 2017 15:15:05 +0000 (11:15 -0400)
This commit conditionally includes messaging amqp class for the
oslo.messaging AMQP 1.0 driver to support notifications.

This patch:
* include keystone::messaging::amqp class for oslo_messaging_amqp opts

Change-Id: I8eb23a21d2499795c3a76ae3197bda7773165a8c

manifests/profile/base/keystone.pp
releasenotes/notes/messaging-amqp-7efec1bcb435e7cf.yaml [new file with mode: 0644]

index 9b2fc51..a199026 100644 (file)
@@ -208,6 +208,10 @@ class tripleo::profile::base::keystone (
       }),
     }
 
+    if 'amqp' in [$oslomsg_rpc_proto, $oslomsg_notify_proto]{
+      include ::keystone::messaging::amqp
+    }
+
     include ::keystone::config
     class { '::keystone::wsgi::apache':
       ssl_cert       => $tls_certfile,
diff --git a/releasenotes/notes/messaging-amqp-7efec1bcb435e7cf.yaml b/releasenotes/notes/messaging-amqp-7efec1bcb435e7cf.yaml
new file mode 100644 (file)
index 0000000..b6f211c
--- /dev/null
@@ -0,0 +1,4 @@
+---
+features:
+  - Include the amqp messaging class when the oslo.messaging rpc
+    protocol is enabled for AMQP 1.0.