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] 35659b8d91

Change-Id: I40782633478784b599bcba9ca29b525f2b952ece
This commit is contained in:
Takashi Kajinami 2022-11-28 18:51:31 +09:00
parent 8011bfcab1
commit eb1178f73c
2 changed files with 4 additions and 12 deletions

View File

@ -225,12 +225,6 @@
# mechanism driver for Neutron.
# Defaults to $::os_service_default
#
# DEPRECATED PARAMETERS
#
# [*validate*]
# (Optional) Whether to validate the service is working after any service refreshes
# Defaults to undef
#
class neutron::server (
$package_ensure = 'present',
$enabled = true,
@ -269,18 +263,12 @@ class neutron::server (
$max_request_body_size = $::os_service_default,
$ovs_integration_bridge = $::os_service_default,
$igmp_snooping_enable = $::os_service_default,
# DEPRECATED PARAMETERS
$validate = undef,
) inherits neutron::params {
include neutron::deps
include neutron::db
include neutron::policy
if $validate != undef {
warning('The neutron::server::validate parameter has been deprecated and has no effect')
}
if !is_service_default($default_availability_zones) {
validate_legacy(Array, 'validate_array', $default_availability_zones)
}

View File

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