ba978b8947
The ceilometer api class has been removed[1]. So the wsgi::apache class is useless. https://review.openstack.org/#/c/541562/ Change-Id: I2c6165dd3b007a2bae1d9934a773dddf32218b7b
53 lines
2.2 KiB
Puppet
53 lines
2.2 KiB
Puppet
# == Class: ceilometer::params
|
|
#
|
|
# These parameters need to be accessed from several locations and
|
|
# should be considered to be constant
|
|
#
|
|
class ceilometer::params {
|
|
include ::openstacklib::defaults
|
|
|
|
$dbsync_command = 'ceilometer-upgrade'
|
|
$expirer_command = 'ceilometer-expirer'
|
|
$user = 'ceilometer'
|
|
$event_pipeline = '/etc/ceilometer/event_pipeline.yaml'
|
|
$pipeline = '/etc/ceilometer/pipeline.yaml'
|
|
$polling = '/etc/ceilometer/polling.yaml'
|
|
$group = 'ceilometer'
|
|
|
|
case $::osfamily {
|
|
'RedHat': {
|
|
# package names
|
|
$agent_central_package_name = 'openstack-ceilometer-central'
|
|
$agent_compute_package_name = 'openstack-ceilometer-compute'
|
|
$agent_polling_package_name = 'openstack-ceilometer-polling'
|
|
$agent_notification_package_name = 'openstack-ceilometer-notification'
|
|
$common_package_name = 'openstack-ceilometer-common'
|
|
# service names
|
|
$agent_central_service_name = 'openstack-ceilometer-central'
|
|
$agent_compute_service_name = 'openstack-ceilometer-compute'
|
|
$agent_polling_service_name = 'openstack-ceilometer-polling'
|
|
$agent_notification_service_name = 'openstack-ceilometer-notification'
|
|
$libvirt_group = undef
|
|
}
|
|
'Debian': {
|
|
# package names
|
|
$agent_central_package_name = 'ceilometer-agent-central'
|
|
$agent_compute_package_name = 'ceilometer-agent-compute'
|
|
$agent_polling_package_name = 'ceilometer-polling'
|
|
$agent_notification_package_name = 'ceilometer-agent-notification'
|
|
$common_package_name = 'ceilometer-common'
|
|
# service names
|
|
$agent_central_service_name = 'ceilometer-agent-central'
|
|
$agent_compute_service_name = 'ceilometer-agent-compute'
|
|
$agent_polling_service_name = 'ceilometer-polling'
|
|
$agent_notification_service_name = 'ceilometer-agent-notification'
|
|
$libvirt_group = 'libvirt'
|
|
}
|
|
default: {
|
|
fail("Unsupported osfamily: ${::osfamily} operatingsystem: \
|
|
${::operatingsystem}, module ${module_name} only support osfamily \
|
|
RedHat and Debian")
|
|
}
|
|
}
|
|
}
|