Files
puppet-cinder/manifests/ceilometer.pp
Tobias Urdin 1e1be4fb56 Convert all class usage to relative names
Change-Id: Ib509c510e3e5ed19fbb1b5f68a060cde02d82eab
2019-12-08 23:02:56 +01:00

35 lines
1.0 KiB
Puppet

# == Class: cinder::ceilometer
#
# Setup Cinder to enable ceilometer can retrieve volume samples
#
# === Parameters
#
# [*notification_transport_url*]
# (Optional) A URL representing the messaging driver to use for notifications
# and its full configuration. Transport URLs take the form:
# transport://user:pass@host1:port[,hostN:portN]/virtual_host
# Defaults to $::os_service_default
#
# [*notification_driver*]
# (Option) Driver or drivers to handle sending notifications.
# Defaults to 'messagingv2'
#
# [*notification_topics*]
# (Optional) AMQP topic used for OpenStack notifications
# Defaults to $::os_service_default
#
class cinder::ceilometer (
$notification_transport_url = $::os_service_default,
$notification_driver = 'messagingv2',
$notification_topics = $::os_service_default,
) {
include cinder::deps
oslo::messaging::notifications { 'cinder_config':
transport_url => $notification_transport_url,
driver => $notification_driver,
topics => $notification_topics,
}
}