Merge "Clean up parameter for service validation"

This commit is contained in:
Zuul 2022-11-30 07:26:58 +00:00 committed by Gerrit Code Review
commit 233f0d7a46
2 changed files with 4 additions and 13 deletions

View File

@ -105,13 +105,6 @@
# enable this if you have a sanitizing proxy.
# Defaults to $::os_service_default
#
# DEPRECATED PARAMETERS
#
# [*validate*]
# (optional) Whether to validate the service is working after any service
# refreshes
# Defaults to undef
#
class cinder::api (
$service_workers = $::os_workers,
$package_ensure = 'present',
@ -136,18 +129,12 @@ class cinder::api (
$auth_strategy = 'keystone',
$osapi_volume_listen_port = $::os_service_default,
$use_forwarded_for = $::os_service_default,
# DEPRECATED PARAMETERS
$validate = undef,
) inherits cinder::params {
include cinder::deps
include cinder::params
include cinder::policy
if $validate != undef {
warning('The cinder::api::validate parameter is deprecated and has no effect')
}
validate_legacy(Boolean, 'validate_bool', $manage_service)
validate_legacy(Boolean, 'validate_bool', $enabled)

View File

@ -0,0 +1,4 @@
---
upgrade:
- |
The ``cinder::api::validate`` parameter has been removed.