Remove deprecated keystone authtoken revocation_cache_time option

Change-Id: I6e864bc01bcdd61172906d42e37661f5e3dfc66f
This commit is contained in:
ZhongShengping 2018-03-27 10:33:24 +08:00
parent d2891b9670
commit afbc7455bb
2 changed files with 3 additions and 15 deletions

View File

@ -178,15 +178,6 @@
# (in seconds). Set to -1 to disable caching completely. Integer value # (in seconds). Set to -1 to disable caching completely. Integer value
# Defaults to $::os_service_default. # Defaults to $::os_service_default.
# #
# DEPRECATED PARAMETERS
#
# [*revocation_cache_time*]
# (Optional) Determines the frequency at which the list of revoked tokens is
# retrieved from the Identity service (in seconds). A high number of
# revocation events combined with a low cache duration may significantly
# reduce performance. Only valid for PKI tokens. Integer value
# Defaults to undef
#
class zaqar::keystone::authtoken( class zaqar::keystone::authtoken(
$username = 'zaqar', $username = 'zaqar',
$password = $::os_service_default, $password = $::os_service_default,
@ -222,8 +213,6 @@ class zaqar::keystone::authtoken(
$manage_memcache_package = false, $manage_memcache_package = false,
$region_name = $::os_service_default, $region_name = $::os_service_default,
$token_cache_time = $::os_service_default, $token_cache_time = $::os_service_default,
# DEPRECATED PARAMETERS
$revocation_cache_time = undef,
) { ) {
include ::zaqar::deps include ::zaqar::deps
@ -232,10 +221,6 @@ class zaqar::keystone::authtoken(
fail('Please set password for Zaqar service user') fail('Please set password for Zaqar service user')
} }
if $revocation_cache_time {
warning('revocation_cache_time parameter is deprecated, has no effect and will be removed in the future.')
}
keystone::resource::authtoken { 'zaqar_config': keystone::resource::authtoken { 'zaqar_config':
username => $username, username => $username,
password => $password, password => $password,

View File

@ -0,0 +1,3 @@
---
upgrade:
- Deprecated keystone::authtoken::revocation_cache_time option has been removed.