Remove deprecated neutron::enabled

This parameter was deprecated during 2023.1 cycle[1].

[1] 7a5be0030d

Change-Id: If2bfbd71d0aa6ed5742516422e9fa1dc06b9304a
This commit is contained in:
Takashi Kajinami 2023-11-06 23:49:47 +09:00
parent 5078eb55e1
commit b1e18bf6ff
2 changed files with 4 additions and 11 deletions

View File

@ -323,11 +323,6 @@
# (optional) Allow plugins that support it to create VLAN transparent networks # (optional) Allow plugins that support it to create VLAN transparent networks
# Defaults to $facts['os_service_default'] # Defaults to $facts['os_service_default']
# #
# DEPRECATED PARAMETERS
#
# [*enabled*]
# (required) Whether or not to enable the neutron service
#
class neutron ( class neutron (
$package_ensure = 'present', $package_ensure = 'present',
$bind_host = $facts['os_service_default'], $bind_host = $facts['os_service_default'],
@ -397,17 +392,11 @@ class neutron (
$notification_transport_url = $facts['os_service_default'], $notification_transport_url = $facts['os_service_default'],
$max_allowed_address_pair = $facts['os_service_default'], $max_allowed_address_pair = $facts['os_service_default'],
$vlan_transparent = $facts['os_service_default'], $vlan_transparent = $facts['os_service_default'],
# DEPRECATED PARAMETERS
$enabled = undef,
) { ) {
include neutron::deps include neutron::deps
include neutron::params include neutron::params
if $enabled != undef {
warning('The neutron::enabled parameter has been deprecated and has no effect')
}
if ! is_service_default($use_ssl) and ($use_ssl) { if ! is_service_default($use_ssl) and ($use_ssl) {
if is_service_default($cert_file) { if is_service_default($cert_file) {
fail('The cert_file parameter is required when use_ssl is set to true') fail('The cert_file parameter is required when use_ssl is set to true')

View File

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