puppet-keystone/manifests/params.pp
Matthew Black cd4f7d8619 Fix issue with fernet_setup exec
The fernet_setup exec is requiring that the
keystone-user and keystone-group is passed
in the exec call. This change exposes two
new parameters that default to "keystone"
that are used in that exec call.

Change-Id: I1e122dc34d496bc26926b6bcd0921e672e099d2e
Closes-Bug: 1553327
2016-03-05 19:30:40 -05:00

40 lines
1.4 KiB
Puppet

#
# This class contains the platform differences for keystone
#
class keystone::params {
$client_package_name = 'python-keystone'
$keystone_user = 'keystone'
$keystone_group = 'keystone'
case $::osfamily {
'Debian': {
$package_name = 'keystone'
$service_name = 'keystone'
$keystone_wsgi_script_path = '/usr/lib/cgi-bin/keystone'
$keystone_wsgi_script_source = '/usr/share/keystone/wsgi.py'
$python_memcache_package_name = 'python-memcache'
$sqlite_package_name = 'python-pysqlite2'
$pymysql_package_name = 'python-pymysql'
$mellon_package_name = 'libapache2-mod-auth-mellon'
case $::operatingsystem {
'Debian': {
$service_provider = undef
}
default: {
$service_provider = 'upstart'
}
}
}
'RedHat': {
$package_name = 'openstack-keystone'
$service_name = 'openstack-keystone'
$keystone_wsgi_script_path = '/var/www/cgi-bin/keystone'
$python_memcache_package_name = 'python-memcached'
$sqlite_package_name = undef
$service_provider = undef
$keystone_wsgi_script_source = '/usr/share/keystone/keystone.wsgi'
$pymysql_package_name = undef
$mellon_package_name = 'mod_auth_mellon'
}
}
}