Puppet Class: cinder::ceilometer

Defined in:
manifests/ceilometer.pp

Overview

Class: cinder::ceilometer

Setup Cinder to enable ceilometer can retrieve volume samples Ref: docs.openstack.org/developer/ceilometer/install/manual.html

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. 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.

Parameters:

  • notification_transport_url (Any) (defaults to: $::os_service_default)
  • notification_driver (Any) (defaults to: 'messagingv2')


22
23
24
25
26
27
28
29
30
31
32
33
# File 'manifests/ceilometer.pp', line 22

class cinder::ceilometer (
  $notification_transport_url = $::os_service_default,
  $notification_driver        = 'messagingv2',
) {

  include ::cinder::deps

  oslo::messaging::notifications { 'cinder_config':
    transport_url => $notification_transport_url,
    driver        => $notification_driver,
  }
}