puppet-keystone/manifests/params.pp
Lee Yarwood 94f56fbc6b Inherit pyvers from openstacklib::defaults
Depends-On: I84b767921d151a61429b2c89e6372c4b447f0d7d
Depends-On: https://review.openstack.org/#/c/631523/
Depends-On: https://review.openstack.org/#/c/633162/
Change-Id: I16d17c4d943bd3d2fe7e49fd1e14376edd912ec1
2019-01-25 10:05:31 +01:00

35 lines
1.2 KiB
Puppet

#
# This class contains the platform differences for keystone
#
class keystone::params {
include ::openstacklib::defaults
$pyvers = $::openstacklib::defaults::pyvers
$client_package_name = "python${pyvers}-keystoneclient"
$keystone_user = 'keystone'
$keystone_group = 'keystone'
$group = 'keystone'
case $::osfamily {
'Debian': {
$package_name = 'keystone'
$service_name = 'keystone'
$keystone_wsgi_script_path = '/usr/lib/cgi-bin/keystone'
$python_memcache_package_name = "python${pyvers}-memcache"
$mellon_package_name = 'libapache2-mod-auth-mellon'
$openidc_package_name = 'libapache2-mod-auth-openidc'
}
'RedHat': {
$package_name = 'openstack-keystone'
$service_name = 'openstack-keystone'
$keystone_wsgi_script_path = '/var/www/cgi-bin/keystone'
$python_memcache_package_name = 'python-memcached'
$mellon_package_name = 'mod_auth_mellon'
$openidc_package_name = 'mod_auth_openidc'
}
default: {
fail("Unsupported osfamily ${::osfamily}")
}
}
}