]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commitdiff
Remove deprecated pki related options
authorZhongShengping <chdzsp@163.com>
Thu, 15 Aug 2019 03:51:37 +0000 (11:51 +0800)
committerZhongShengping <chdzsp@163.com>
Thu, 15 Aug 2019 03:51:37 +0000 (11:51 +0800)
The deprecated pki related options check_revocations_for_cached and
hash_algorithms option has been removed.

Change-Id: Ie5780d27367b3d00c1fc32acefcce7ad4b99f1fd

manifests/keystone/authtoken.pp
releasenotes/notes/remove_deprecated_pki_related_options-822445b386061904.yaml [new file with mode: 0644]

index 29494bda7a76553aef4a71cdd99f9a81e8f1339b..105d46b2ff93b88a55c095797da0b0648b03cb2d 100644 (file)
 #   true/false
 #   Defaults to $::os_service_default.
 #
-# DEPRECATED PARAMETERS
-#
-# [*check_revocations_for_cached*]
-#   (Optional) If true, the revocation list will be checked for cached tokens.
-#   This requires that PKI tokens are configured on the identity server.
-#   boolean value.
-#   Defaults to undef.
-#
-# [*hash_algorithms*]
-#   (Optional) Hash algorithms to use for hashing PKI tokens. This may be a
-#   single algorithm or multiple. The algorithms are those supported by Python
-#   standard hashlib.new(). The hashes will be tried in the order given, so put
-#   the preferred one first for performance. The result of the first hash will
-#   be stored in the cache. This will typically be set to multiple values only
-#   while migrating from a less secure algorithm to a more secure one. Once all
-#   the old tokens are expired this option should be set to a single value for
-#   better performance. List value.
-#   Defaults to undef.
-#
 class ceilometer::keystone::authtoken(
   $username                       = 'ceilometer',
   $password                       = $::os_service_default,
@@ -220,9 +201,6 @@ class ceilometer::keystone::authtoken(
   $region_name                    = $::os_service_default,
   $token_cache_time               = $::os_service_default,
   $service_token_roles_required   = $::os_service_default,
-  # DEPRECATED PARAMETERS
-  $check_revocations_for_cached   = undef,
-  $hash_algorithms                = undef,
 ) {
 
   include ::ceilometer::deps
@@ -231,14 +209,6 @@ class ceilometer::keystone::authtoken(
     fail('Please set password for ceilometer service user')
   }
 
-  if $check_revocations_for_cached {
-    warning('check_revocations_for_cached parameter is deprecated, has no effect and will be removed in the future.')
-  }
-
-  if $hash_algorithms {
-    warning('hash_algorithms 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_pki_related_options-822445b386061904.yaml b/releasenotes/notes/remove_deprecated_pki_related_options-822445b386061904.yaml
new file mode 100644 (file)
index 0000000..62af34f
--- /dev/null
@@ -0,0 +1,5 @@
+---
+upgrade:
+  - |
+    The deprecated pki related options check_revocations_for_cached and
+    hash_algorithms option has been removed.