Remove deprecated keystone authtoken revocation_cache_time option

Change-Id: Iebef49d2ac759cb328955666c7243bece41cf8bf
This commit is contained in:
ZhongShengping 2018-03-27 10:33:23 +08:00
parent 2fb99be317
commit 3e3f5a2280
2 changed files with 3 additions and 15 deletions

View File

@ -182,15 +182,6 @@
# (in seconds). Set to -1 to disable caching completely. Integer value
# 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 panko::keystone::authtoken(
$password,
$username = 'panko',
@ -226,16 +217,10 @@ class panko::keystone::authtoken(
$manage_memcache_package = false,
$region_name = $::os_service_default,
$token_cache_time = $::os_service_default,
# DEPRECATED PARAMETERS
$revocation_cache_time = undef,
) {
include ::panko::deps
if $revocation_cache_time {
warning('revocation_cache_time parameter is deprecated, has no effect and will be removed in the future.')
}
keystone::resource::authtoken { 'panko_config':
username => $username,
password => $password,

View File

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