From b1e18bf6ff8734c0cffa58ebcc6b13d8c0c7d47c Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 6 Nov 2023 23:49:47 +0900 Subject: [PATCH] Remove deprecated neutron::enabled This parameter was deprecated during 2023.1 cycle[1]. [1] 7a5be0030d31f62c31387a3756c9e7b795d00ac7 Change-Id: If2bfbd71d0aa6ed5742516422e9fa1dc06b9304a --- manifests/init.pp | 11 ----------- .../remove-neutron-enabled-e67fffd8b8016b4b.yaml | 4 ++++ 2 files changed, 4 insertions(+), 11 deletions(-) create mode 100644 releasenotes/notes/remove-neutron-enabled-e67fffd8b8016b4b.yaml diff --git a/manifests/init.pp b/manifests/init.pp index 7d307c0f9..915a73fd6 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -323,11 +323,6 @@ # (optional) Allow plugins that support it to create VLAN transparent networks # Defaults to $facts['os_service_default'] # -# DEPRECATED PARAMETERS -# -# [*enabled*] -# (required) Whether or not to enable the neutron service -# class neutron ( $package_ensure = 'present', $bind_host = $facts['os_service_default'], @@ -397,17 +392,11 @@ class neutron ( $notification_transport_url = $facts['os_service_default'], $max_allowed_address_pair = $facts['os_service_default'], $vlan_transparent = $facts['os_service_default'], - # DEPRECATED PARAMETERS - $enabled = undef, ) { include neutron::deps 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($cert_file) { fail('The cert_file parameter is required when use_ssl is set to true') diff --git a/releasenotes/notes/remove-neutron-enabled-e67fffd8b8016b4b.yaml b/releasenotes/notes/remove-neutron-enabled-e67fffd8b8016b4b.yaml new file mode 100644 index 000000000..c15a90ea8 --- /dev/null +++ b/releasenotes/notes/remove-neutron-enabled-e67fffd8b8016b4b.yaml @@ -0,0 +1,4 @@ +--- +upgrade: + - | + The ``neutron::enabled`` parameter has been removed.