puppet-oslo/manifests/params.pp
Takashi Kajinami 3041590482 Debian/Ubuntu: Do not install python3-pysqlite2
The python3-pysqlite2 package is no longer available, and the built-in
sqlite3 library is used instead.

Conflicts:
	manifests/db.pp
	spec/defines/oslo_db_spec.rb

Closes-Bug: #2046335
Change-Id: I9642ca3b6e37d3a85ae274d38a8376e9afa03042
(cherry picked from commit 482fae00cd)
(cherry picked from commit 0787356604)
2023-12-19 11:46:25 +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_etcd3_package_name = undef
$python_pymemcache_package_name = 'python3-pymemcache'
}
'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_etcd3_package_name = 'python3-etcd3'
$python_pymemcache_package_name = 'python3-pymemcache'
}
default: {
fail("Unsupported osfamily: ${facts['os']['family']}")
}
} # Case $facts['os']['family']
}