Remove revocation_cache_time parameter

revocation_cache_time parameter is deprecated,
has no effect and will be removed in the future.

Change-Id: I279c2fbba52be1e3860544f8b8b3738bddf5e72d
This commit is contained in:
zhangyangyang 2017-10-06 13:26:58 +08:00
parent e81ddb4c16
commit 1d4911be48
2 changed files with 5 additions and 15 deletions

View File

@ -178,15 +178,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 nova::metadata::novajoin::authtoken(
$username = 'novajoin',
$password = $::os_service_default,
@ -222,18 +213,12 @@ class nova::metadata::novajoin::authtoken(
$manage_memcache_package = false,
$region_name = $::os_service_default,
$token_cache_time = $::os_service_default,
# DEPRECATED PARAMETERS
$revocation_cache_time = undef,
) {
if is_service_default($password) {
fail('Please set password for novajoin 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 { 'novajoin_config':
username => $username,
password => $password,

View File

@ -0,0 +1,5 @@
---
upgrade:
- remove revocation_cache_time parameter
revocation_cache_time parameter is deprecated, has no effect
and will be removed in the future.