From e882c74ac598d0ac5ee7e12360320770ea185086 Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Tue, 27 Mar 2018 10:33:22 +0800 Subject: [PATCH] Remove deprecated keystone authtoken revocation_cache_time option Change-Id: Ic8bb8e2e2ee6cd7161ff0cdcb78f651a27f787ee --- manifests/keystone/authtoken.pp | 15 --------------- ...cation_cache_time_option-86c386c2484fd9d8.yaml | 3 +++ 2 files changed, 3 insertions(+), 15 deletions(-) create mode 100644 releasenotes/notes/remove_deprecated_keystone_revocation_cache_time_option-86c386c2484fd9d8.yaml diff --git a/manifests/keystone/authtoken.pp b/manifests/keystone/authtoken.pp index 2a77218..518f5d5 100644 --- a/manifests/keystone/authtoken.pp +++ b/manifests/keystone/authtoken.pp @@ -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 mistral::keystone::authtoken( $username = 'mistral', $password = $::os_service_default, @@ -222,8 +213,6 @@ class mistral::keystone::authtoken( $manage_memcache_package = false, $region_name = $::os_service_default, $token_cache_time = $::os_service_default, - # DEPRECATED PARAMETERS - $revocation_cache_time = undef, ) { include ::mistral::deps @@ -232,10 +221,6 @@ class mistral::keystone::authtoken( fail('Please set password for mistral service user') } - if $revocation_cache_time { - warning('revocation_cache_time parameter is deprecated, has no effect and will be removed in the future.') - } - #NOTE(emilien): Use pick to keep backward compatibility $username_real = pick($::mistral::keystone_user,$username) $password_real = pick($::mistral::keystone_password,$password) diff --git a/releasenotes/notes/remove_deprecated_keystone_revocation_cache_time_option-86c386c2484fd9d8.yaml b/releasenotes/notes/remove_deprecated_keystone_revocation_cache_time_option-86c386c2484fd9d8.yaml new file mode 100644 index 0000000..e7fe971 --- /dev/null +++ b/releasenotes/notes/remove_deprecated_keystone_revocation_cache_time_option-86c386c2484fd9d8.yaml @@ -0,0 +1,3 @@ +--- +upgrade: + - Deprecated keystone::authtoken::revocation_cache_time option has been removed.