Files
puppet-oslo/manifests/params.pp
Takashi Kajinami 9175c459e4 Add optional installation of oslo.reports package
Some services like ironic does not require oslo.reports but users have
to install the library to capture GMR. This introduces a few new
options to enable management of oslo.reports package to cover that
requirement.

Because the oslo::reports class was added during this cycle, this
change contains no release note updates.

Change-Id: I64d9e6e8135fa051db0a3a576ee8998fd00a3824
2024-01-30 01:57:18 +09:00

33 lines
1.0 KiB
Puppet

# ==Class: oslo::params
#
# Parameters for puppet-oslo
#
class oslo::params {
include openstacklib::defaults
$pylibmc_package_name = 'python3-pylibmc'
case $facts['os']['family'] {
'RedHat': {
$pymysql_package_name = undef
$python_memcache_package_name = 'python3-memcached'
$python_redis_package_name = 'python3-redis'
$python_etcd3gw_package_name = 'python3-etcd3gw'
$python_pymemcache_package_name = 'python3-pymemcache'
$oslo_reports_package_name = 'python3-oslo-reports'
}
'Debian': {
$pymysql_package_name = 'python3-pymysql'
$python_memcache_package_name = 'python3-memcache'
$python_redis_package_name = 'python3-redis'
$python_etcd3gw_package_name = 'python3-etcd3gw'
$python_pymemcache_package_name = 'python3-pymemcache'
$oslo_reports_package_name = 'python3-oslo.reports'
}
default: {
fail("Unsupported osfamily: ${facts['os']['family']}")
}
} # Case $facts['os']['family']
}