Merge "Clean up parameter for service validation"
This commit is contained in:
commit
233f0d7a46
@ -105,13 +105,6 @@
|
|||||||
# enable this if you have a sanitizing proxy.
|
# enable this if you have a sanitizing proxy.
|
||||||
# Defaults to $::os_service_default
|
# 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 (
|
class cinder::api (
|
||||||
$service_workers = $::os_workers,
|
$service_workers = $::os_workers,
|
||||||
$package_ensure = 'present',
|
$package_ensure = 'present',
|
||||||
@ -136,18 +129,12 @@ class cinder::api (
|
|||||||
$auth_strategy = 'keystone',
|
$auth_strategy = 'keystone',
|
||||||
$osapi_volume_listen_port = $::os_service_default,
|
$osapi_volume_listen_port = $::os_service_default,
|
||||||
$use_forwarded_for = $::os_service_default,
|
$use_forwarded_for = $::os_service_default,
|
||||||
# DEPRECATED PARAMETERS
|
|
||||||
$validate = undef,
|
|
||||||
) inherits cinder::params {
|
) inherits cinder::params {
|
||||||
|
|
||||||
include cinder::deps
|
include cinder::deps
|
||||||
include cinder::params
|
include cinder::params
|
||||||
include cinder::policy
|
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', $manage_service)
|
||||||
validate_legacy(Boolean, 'validate_bool', $enabled)
|
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