
This commit switches using of oslo options to a puppet-oslo module: * oslo messaging notifications; * oslo messaging rabbitmq; * oslo log; * oslo db; * oslo policy; Change-Id: I48e77630c7def069d3f27e55bcd402740e8eddc5
24 lines
803 B
Puppet
24 lines
803 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',
|
|
) {
|
|
|
|
oslo::messaging::notifications { 'cinder_config':
|
|
driver => $notification_driver
|
|
}
|
|
}
|