Clean up parameters for service validation

... service validation was deprecated during Yoga cycle by [1].
The parameters were left for interface compatibility but have had no
effect since then.

[1] 3d5c217596daeafe7620273ab7a0b5dd9ee2d194

Change-Id: I4b2fa2f250576eb811d66c4925f0b9a5cf6bb3ee
This commit is contained in:
Takashi Kajinami 2022-11-28 18:55:13 +09:00
parent ee6ef7d496
commit 58b9a1c3bc
2 changed files with 5 additions and 23 deletions

View File

@ -251,19 +251,6 @@
# properties.
# Defaults to undef
#
# [*validate*]
# (optional) Whether to validate the service is working after any service refreshes
# Defaults to undef
#
# [*validation_options*]
# (optional) Service validation options
# Should be a hash of options defined in openstacklib::service_validation
# If empty, defaults values are taken from openstacklib function.
# Default command list images.
# Require validate set at True.
# Example:
# Defaults to undef
#
# [*scrub_time*]
# (optional) The amount of time in seconds to delay before performing a delete.
# Defaults to undef
@ -355,8 +342,6 @@ class glance::api(
$default_store = undef,
$multi_store = false,
$show_multiple_locations = undef,
$validate = undef,
$validation_options = undef,
$scrub_time = undef,
$cert_file = undef,
$key_file = undef,
@ -371,14 +356,6 @@ class glance::api(
include glance::policy
include glance::api::db
if $validate != undef {
warning('The glance::api::validate parameter has been deprecated and has no effect')
}
if $validation_options != undef {
warning('The glance::api::validation_options parameter has been deprecated and has no effect')
}
if $scrub_time != undef {
warning('The glance::scrub_time parameter is deprecated and has no effect')
}

View File

@ -0,0 +1,5 @@
---
upgrade:
- |
The ``validate`` parameter and the ``validation_options`` parameter of
the ``glance::api`` class have been removed.