
control_exchange is duplicated in init.pp and ceilometer.pp which could create duplicate declaration when declaring cinder and cinder::ceilometer on same node. Closes-bug #1266259 Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com> Change-Id: Ic1c5c880c421f43d2a125b2b5b58630fc55bc9c8
23 lines
573 B
Puppet
23 lines
573 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.
|
|
#
|
|
|
|
|
|
class cinder::ceilometer (
|
|
$notification_driver = 'cinder.openstack.common.notifier.rpc_notifier'
|
|
) {
|
|
|
|
cinder_config {
|
|
'DEFAULT/notification_driver': value => $notification_driver;
|
|
}
|
|
}
|
|
|