fa11274b2f
Change-Id: Ia631adf31be1eeadb7ab0f12b75f1eaed73d5fbf
35 lines
1.2 KiB
Puppet
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}")
|
|
}
|
|
}
|
|
}
|