Remove deprecated keystone authtoken revocation_cache_time option

Change-Id: Icb0d0ef69c48353c11866cfa7cabcb1c4eaeb344
This commit is contained in:
ZhongShengping 2018-03-27 10:33:25 +08:00
parent ec28f991b2
commit 99b4208324
2 changed files with 3 additions and 15 deletions

View File

@ -209,15 +209,6 @@
# (Optional) Whether to install the python-memcache package.
# Defaults to false.
#
# 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
#
define keystone::resource::authtoken(
$username,
$password,
@ -253,8 +244,6 @@ define keystone::resource::authtoken(
$region_name = $::os_service_default,
$token_cache_time = $::os_service_default,
$manage_memcache_package = false,
# DEPRECATED PARAMETERS
$revocation_cache_time = undef,
) {
include ::keystone::deps
@ -283,10 +272,6 @@ define keystone::resource::authtoken(
validate_bool($delay_auth_decision)
}
if $revocation_cache_time {
warning('revocation_cache_time parameter is deprecated, has no effect and will be removed in the future.')
}
if !is_service_default($memcached_servers) and !empty($memcached_servers){
$memcached_servers_real = join(any2array($memcached_servers), ',')
if $manage_memcache_package {

View File

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