Clean up parameter for service validation
... service validation was deprecated during Yoga cycle by [1].
The parameter was left for interface compatibility but has had no
effect since then.
[1] d944a76b95
Change-Id: I16936b092df46c689813b80557e24542b7d43093
This commit is contained in:
parent
3a63b7145b
commit
f1cee735a2
@ -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)
|
||||
|
||||
|
@ -0,0 +1,4 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
The ``cinder::api::validate`` parameter has been removed.
|
Loading…
Reference in New Issue
Block a user