]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commitdiff
Switch deprecated rabbit_notifier to rpc_notifier
authorFrançois Charlier <francois.charlier@enovance.com>
Thu, 6 Jun 2013 10:23:53 +0000 (12:23 +0200)
committerFrançois Charlier <francois.charlier@enovance.com>
Sat, 8 Jun 2013 09:45:31 +0000 (11:45 +0200)
The 'nova.openstack.common.notifier.rabbit_notifier' is deprecated since
the G release of Openstack, it has to be replaced with
'nova.openstack.common.notifier.rpc_notifier'.

Change-Id: I2174bc1b6504bacfeb427b2f5b8f8dc19c167dcb

manifests/agent/compute.pp
spec/classes/ceilometer_agent_compute_spec.rb

index c9ed60dbcaf6cb33c85bbe919b5e749baacf5d39..6f5fea06388294a7e461bb58bb1b58a0cf54d39d 100644 (file)
@@ -101,7 +101,7 @@ class ceilometer::agent::compute (
   file_line {
     'nova-notification-driver-common':
       line   =>
-        'notification_driver=nova.openstack.common.notifier.rabbit_notifier',
+        'notification_driver=nova.openstack.common.notifier.rpc_notifier',
       path   => '/etc/nova/nova.conf',
       notify => Service['nova-compute'];
     'nova-notification-driver-ceilometer':
index 34494692d6a4107c53ab12621ae3afcf4c178267..fdf2a54356d1aabc03e7444e2a091ac48b54ba0c 100644 (file)
@@ -67,7 +67,7 @@ describe 'ceilometer::agent::compute' do
 
     it 'configures nova notification driver' do
       should contain_file_line('nova-notification-driver-common').with(
-        :line   => 'notification_driver=nova.openstack.common.notifier.rabbit_notifier',
+        :line   => 'notification_driver=nova.openstack.common.notifier.rpc_notifier',
         :path   => '/etc/nova/nova.conf',
         :notify => 'Service[nova-compute]'
       )