Files
puppet-keystone/manifests/params.pp
Takashi Kajinami 0f082bc1c8 Replace wsgi script
pbr is removing support for wsgi_script due to changes in setuptools.
Use the wsgi script module python code instead.

Note that this change only touches CentOS code. Ubuntu and Debian will
be updated later when we bump the release used in our testing.

Change-Id: Ib724af2a20677937d7e9e9b417731296b64c7279
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-08-21 11:48:13 +09:00

39 lines
1.3 KiB
Puppet

#
# This class contains the platform differences for keystone
#
class keystone::params {
include openstacklib::defaults
$pyver3 = $openstacklib::defaults::pyver3
$client_package_name = 'python3-keystoneclient'
$user = 'keystone'
$group = 'keystone'
# NOTE(tkajinam) These are kept for backward compatibility
$keystone_user = $user
$keystone_group = $group
case $facts['os']['family'] {
'Debian': {
$package_name = 'keystone'
$service_name = 'keystone'
$keystone_wsgi_script_path = '/usr/lib/cgi-bin/keystone'
$keystone_wsgi_script_source = '/usr/bin/keystone-wsgi-public'
$python_memcache_package_name = 'python3-memcache'
$python_ldappool_package_name = 'python3-ldappool'
}
'RedHat': {
$package_name = 'openstack-keystone'
$service_name = 'openstack-keystone'
$keystone_wsgi_script_path = '/var/www/cgi-bin/keystone'
$keystone_wsgi_script_source = "/usr/lib/python${pyver3}/site-packages/keystone/wsgi/api.py"
$python_memcache_package_name = 'python3-memcached'
$python_ldappool_package_name = 'python3-ldappool'
}
default: {
fail("Unsupported osfamily: ${facts['os']['family']}")
}
}
}