keystone: allow to customize using_domain_config parameter

using_domain_config can now be set to True or False.
False is the default like in puppet-keystone.

Change-Id: I912f975d4e34608aba6a5c55d89e40ab71ec7209
This commit is contained in:
Emilien Macchi 2016-01-26 09:20:12 -05:00
parent fc1ba6ab01
commit 80fb925031

View File

@ -5,8 +5,15 @@
# Set to 'undef' for 'Default' domain.
# Default to undef.
#
# [*using_domain_config*]
# (optional) Eases the use of the keystone_domain_config resource type.
# It ensures that a directory for holding the domain configuration is present
# and the associated configuration in keystone.conf is set up right.
# Defaults to false
#
class openstack_integration::keystone (
$default_domain = undef,
$using_domain_config = false,
) {
class { '::keystone::client': }
@ -22,6 +29,7 @@ class openstack_integration::keystone (
enabled => true,
service_name => 'httpd',
default_domain => $default_domain,
using_domain_config => $using_domain_config,
}
include ::apache
class { '::keystone::wsgi::apache':