Remove neutron::agents::metadata::metadata_ip

Deprecated in favor of metadata_host.

Change-Id: I682e22d56d65ec160a09780f6780467b1c8718ba
This commit is contained in:
Tobias Urdin 2020-01-28 15:17:35 +01:00
parent 9f5c39cdcf
commit e3c8f1423b
2 changed files with 5 additions and 11 deletions

View File

@ -63,12 +63,6 @@
# in the metadata config.
# Defaults to false.
#
# DEPRECATED
#
# [*metadata_ip*]
# (optional) This option is deprecated an has no effect
#
class neutron::agents::metadata (
$shared_secret,
$package_ensure = 'present',
@ -86,7 +80,6 @@ class neutron::agents::metadata (
$nova_client_cert = $::os_service_default,
$nova_client_priv_key = $::os_service_default,
$purge_config = false,
$metadata_ip = undef,
) {
include neutron::deps
@ -120,10 +113,6 @@ class neutron::agents::metadata (
}
}
if $metadata_ip {
warning('nova_metadata_ip is deprecated, please use nova_metadata_host instead')
}
if $::neutron::params::metadata_agent_package {
package { 'neutron-metadata':
ensure => $package_ensure,

View File

@ -0,0 +1,5 @@
---
upgrade:
- |
The deprecated parameter neutron::agents::metadata::metadata_ip is removed.
Please use the neutron::agents::metadata::metadata_host parameter.