From 92d3a94f546fc89036459e54bfecb815088300c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ji=C5=99=C3=AD=20Suchomel?= <jiri.suchomel@suse.com>
Date: Wed, 23 Mar 2016 09:22:24 +0100
Subject: [PATCH] [install] Use correct location for notification driver.

Location of notification driver in [DEFAULT] section is obsolete,
it belongs to [oslo_messaging_notifications].

Change-Id: I5afec86c32ee1bb76fb5cf1ccbfa980b0ec480da
---
 doc/install-guide/source/ceilometer-cinder.rst |  6 +++---
 doc/install-guide/source/ceilometer-glance.rst | 10 +++++++---
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/doc/install-guide/source/ceilometer-cinder.rst b/doc/install-guide/source/ceilometer-cinder.rst
index 3af23b3bfd..db34f62693 100644
--- a/doc/install-guide/source/ceilometer-cinder.rst
+++ b/doc/install-guide/source/ceilometer-cinder.rst
@@ -14,13 +14,13 @@ Configure Cinder to use Telemetry
 Edit the ``/etc/cinder/cinder.conf`` file and complete the
 following actions:
 
-* In the ``[DEFAULT]`` section, configure notifications:
+* In the ``[oslo_messaging_notifications]`` section, configure notifications:
 
   .. code-block:: ini
 
-     [DEFAULT]
+     [oslo_messaging_notifications]
      ...
-     notification_driver = messagingv2
+     driver = messagingv2
 
 Finalize installation
 ---------------------
diff --git a/doc/install-guide/source/ceilometer-glance.rst b/doc/install-guide/source/ceilometer-glance.rst
index b764ae74e1..c09fbeb88c 100644
--- a/doc/install-guide/source/ceilometer-glance.rst
+++ b/doc/install-guide/source/ceilometer-glance.rst
@@ -11,16 +11,20 @@ Configure the Image service to use Telemetry
   ``/etc/glance/glance-registry.conf`` files and
   complete the following actions:
 
-  * In the ``[DEFAULT]`` and ``[oslo_messaging_rabbit]`` sections,
-    configure notifications and RabbitMQ message broker access:
+  * In the ``[DEFAULT]``, ``[oslo_messaging_notifications]``, and
+    ``[oslo_messaging_rabbit]`` sections, configure notifications and RabbitMQ
+    message broker access:
 
     .. code-block:: ini
 
        [DEFAULT]
        ...
-       notification_driver = messagingv2
        rpc_backend = rabbit
 
+       [oslo_messaging_notifications]
+       ...
+       driver = messagingv2
+
        [oslo_messaging_rabbit]
        ...
        rabbit_host = controller