]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commitdiff
Remove deprecated keystone authtoken revocation_cache_time option
authorZhongShengping <chdzsp@163.com>
Tue, 27 Mar 2018 02:33:20 +0000 (10:33 +0800)
committerZhongShengping <chdzsp@163.com>
Tue, 27 Mar 2018 02:33:20 +0000 (10:33 +0800)
Change-Id: I4164b0ed8e51249f7403fcde188a87e24f9e149f

manifests/keystone/authtoken.pp
releasenotes/notes/remove_deprecated_keystone_revocation_cache_time_option-9b8eafc537ba8281.yaml [new file with mode: 0644]

index e9c11df9febd77f063ca812232793258de25d1f6..bcd9c2b5aed434fc31b1ae42038dc9b98253726c 100644 (file)
 #   (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 ceilometer::keystone::authtoken(
   $username                       = 'ceilometer',
   $password                       = $::os_service_default,
@@ -222,8 +213,6 @@ class ceilometer::keystone::authtoken(
   $manage_memcache_package        = false,
   $region_name                    = $::os_service_default,
   $token_cache_time               = $::os_service_default,
-  # DEPRECATED PARAMETERS
-  $revocation_cache_time          = undef,
 ) {
 
   include ::ceilometer::deps
@@ -232,10 +221,6 @@ class ceilometer::keystone::authtoken(
     fail('Please set password for ceilometer 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 { 'ceilometer_config':
     username                       => $username,
     password                       => $password,
diff --git a/releasenotes/notes/remove_deprecated_keystone_revocation_cache_time_option-9b8eafc537ba8281.yaml b/releasenotes/notes/remove_deprecated_keystone_revocation_cache_time_option-9b8eafc537ba8281.yaml
new file mode 100644 (file)
index 0000000..e7fe971
--- /dev/null
@@ -0,0 +1,3 @@
+---
+upgrade:
+  - Deprecated keystone::authtoken::revocation_cache_time option has been removed.