Add memcached_servers for keystone authtoken
This change adds the abiltity to manage the memcached servers for the keystone authtoken configuration in heat Change-Id: Ifa1f98607b4c0298a2723765870ef466dbb8447a
This commit is contained in:
parent
890e986f0a
commit
21a466b5ca
@ -243,6 +243,11 @@
|
|||||||
#
|
#
|
||||||
# [*keystone_ec2_uri*]
|
# [*keystone_ec2_uri*]
|
||||||
#
|
#
|
||||||
|
# [*memcached_servers*]
|
||||||
|
# (optinal) a list of memcached server(s) to use for caching. If left
|
||||||
|
# undefined, tokens will instead be cached in-process.
|
||||||
|
# Defaults to $::os_service_default.
|
||||||
|
#
|
||||||
# [*database_connection*]
|
# [*database_connection*]
|
||||||
# (optional) Connection url for the heat database.
|
# (optional) Connection url for the heat database.
|
||||||
# Defaults to undef.
|
# Defaults to undef.
|
||||||
@ -341,6 +346,7 @@ class heat(
|
|||||||
$keystone_project_domain_name = 'Default',
|
$keystone_project_domain_name = 'Default',
|
||||||
$keystone_user_domain_id = 'Default',
|
$keystone_user_domain_id = 'Default',
|
||||||
$keystone_user_domain_name = 'Default',
|
$keystone_user_domain_name = 'Default',
|
||||||
|
$memcached_servers = $::os_service_default,
|
||||||
$default_transport_url = $::os_service_default,
|
$default_transport_url = $::os_service_default,
|
||||||
$rpc_backend = $::os_service_default,
|
$rpc_backend = $::os_service_default,
|
||||||
$rpc_response_timeout = $::os_service_default,
|
$rpc_response_timeout = $::os_service_default,
|
||||||
@ -523,6 +529,7 @@ class heat(
|
|||||||
'DEFAULT/enable_stack_adopt': value => $enable_stack_adopt;
|
'DEFAULT/enable_stack_adopt': value => $enable_stack_adopt;
|
||||||
'ec2authtoken/auth_uri': value => $keystone_ec2_uri;
|
'ec2authtoken/auth_uri': value => $keystone_ec2_uri;
|
||||||
'paste_deploy/flavor': value => $flavor;
|
'paste_deploy/flavor': value => $flavor;
|
||||||
|
'keystone_authtoken/memcached_servers': value => join(any2array($memcached_servers), ',');
|
||||||
}
|
}
|
||||||
|
|
||||||
oslo::messaging::notifications { 'heat_config':
|
oslo::messaging::notifications { 'heat_config':
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- Added the ability to manage the memcached servers
|
||||||
|
for keystone_authtoken in heat
|
@ -145,6 +145,10 @@ describe 'heat' do
|
|||||||
is_expected.to contain_heat_config('clients_heat/url').with_value('<SERVICE DEFAULT>')
|
is_expected.to contain_heat_config('clients_heat/url').with_value('<SERVICE DEFAULT>')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
it 'configures keystone_authtoken memcached' do
|
||||||
|
is_expected.to contain_heat_config('keystone_authtoken/memcached_servers').with_value('<SERVICE DEFAULT>')
|
||||||
|
end
|
||||||
|
|
||||||
it_configures "with default auth method"
|
it_configures "with default auth method"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user