
This patch is aim to setup cinder volume to enable ceilometer can retrieve volume samples. Fixes bug #1240775 Change-Id: I9aa58cf587574797d5c7a7c09050027d9d020fc9
27 lines
766 B
Puppet
27 lines
766 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.
|
|
# Notice: rabbit_notifier has been deprecated in Grizzly, use rpc_notifier instead.
|
|
# [*control_exchange*]
|
|
# (option) AMQP exchange to connect to if using RabbitMQ or Qpid.
|
|
#
|
|
|
|
|
|
class cinder::ceilometer (
|
|
$notification_driver = 'cinder.openstack.common.notifier.rpc_notifier',
|
|
$control_exchange = 'cinder'
|
|
) {
|
|
|
|
cinder_config {
|
|
'DEFAULT/notification_driver': value => $notification_driver;
|
|
'DEFAULT/control_exchange': value => $control_exchange;
|
|
}
|
|
}
|
|
|