
This replaces the existing logic in the gnocchi::db class by the common logic in oslo::db, to use the single logic to manage backend packages. Depends-on: https://review.opendev.org/889374 Change-Id: Icd916df0b3463128df5b2ed3b49c2cdbee871504
35 lines
1.0 KiB
Puppet
35 lines
1.0 KiB
Puppet
# ==Class: gnocchi::params
|
|
#
|
|
# Parameters for puppet-gnocchi
|
|
#
|
|
class gnocchi::params {
|
|
include openstacklib::defaults
|
|
|
|
$client_package_name = 'python3-gnocchiclient'
|
|
$rados_package_name = 'python3-rados'
|
|
$common_package_name = 'gnocchi-common'
|
|
$api_package_name = 'gnocchi-api'
|
|
$api_service_name = 'gnocchi-api'
|
|
$metricd_package_name = 'gnocchi-metricd'
|
|
$metricd_service_name = 'gnocchi-metricd'
|
|
$statsd_package_name = 'gnocchi-statsd'
|
|
$statsd_service_name = 'gnocchi-statsd'
|
|
$user = 'gnocchi'
|
|
$group = 'gnocchi'
|
|
$gnocchi_wsgi_script_source = '/usr/bin/gnocchi-api'
|
|
$boto3_package_name = 'python3-boto3'
|
|
|
|
case $facts['os']['family'] {
|
|
'RedHat': {
|
|
$gnocchi_wsgi_script_path = '/var/www/cgi-bin/gnocchi'
|
|
}
|
|
'Debian': {
|
|
$gnocchi_wsgi_script_path = '/usr/lib/cgi-bin/gnocchi'
|
|
}
|
|
default: {
|
|
fail("Unsupported osfamily: ${facts['os']['family']}")
|
|
}
|
|
|
|
} # Case $facts['os']['family']
|
|
}
|