puppet-cinder/manifests/ceilometer.pp
Alex Schultz b5649e7e55 Update default notification_driver for ceilometer
This change updates the default notification_driver for the
cinder::ceilometer class to use the oslo.messaing method that was added
as part of icehouse/juno.

Change-Id: I99c3d54c64caefb4f2aa3c56c118bd2607a0ba96
Closes-Bug: 1476378
2015-07-20 15:27:37 -05:00

24 lines
800 B
Puppet

# == Class: cinder::ceilometer
#
# Setup Cinder to enable ceilometer can retrieve volume samples
# Ref: http://docs.openstack.org/developer/ceilometer/install/manual.html
#
# === Parameters
#
# [*notification_driver*]
# (option) Driver or drivers to handle sending notifications.
# The default value of 'messagingv2' is for enabling notifications via
# oslo.messaging. 'cinder.openstack.common.notifier.rpc_notifier' is the
# backwards compatible option that will be deprecated. Prior to Grizzly,
# 'cinder.openstack.common.notifier.rabbit_notifier' was used. oslo.messaging
# was adopted in icehouse/juno. See LP#1425713.
#
class cinder::ceilometer (
$notification_driver = 'messagingv2',
) {
cinder_config {
'DEFAULT/notification_driver': value => $notification_driver;
}
}