puppet-keystone/manifests/params.pp
Sofer Athlan-Guyot c39780fc9e Include openstacklib defaults manifest.
This provides a mechanism for setting default across all modules.

Change-Id: Ifa5b0d68f19e138b5fefb389ee3f937aeaad00cb
Related-Bug: 1599113
2016-07-08 08:09:17 +00:00

33 lines
1.2 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'
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}")
}
}
}