
The move of policy.json into code means the file may not exist. We've added support to ensure that the file exists in the openstacklib but we need to make sure the permissions are right for each service. This adds the group information to the policies so it works right. Depends-On: I26e8b1384f4f69712da9d06a4c565dfd1f17c9ed Change-Id: I4dfcf05aa8418df3ee1a13925f0831dc30921186 Co-Authored-By: Alex Schultz <aschultz@redhat.com>
34 lines
1.3 KiB
Puppet
34 lines
1.3 KiB
Puppet
#
|
|
# This class contains the platform differences for keystone
|
|
#
|
|
class keystone::params {
|
|
include ::openstacklib::defaults
|
|
$client_package_name = 'python-keystoneclient'
|
|
$keystone_user = 'keystone'
|
|
$keystone_group = 'keystone'
|
|
$keystone_wsgi_admin_script_path = '/usr/bin/keystone-wsgi-admin'
|
|
$keystone_wsgi_public_script_path = '/usr/bin/keystone-wsgi-public'
|
|
$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-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}")
|
|
}
|
|
}
|
|
}
|