Clean up deprecated nova::metadata::enabled_api
... because it was deprecated during Train and has nad no effect since
then[1]
[1] 919a4ce5a9
Change-Id: I97094f35c5ed2bd734051f082b9eb1d93c4a632c
This commit is contained in:
parent
f533a5e1ca
commit
0e978aa853
@ -28,29 +28,17 @@
|
|||||||
# (optional) domain to use for building the hostnames
|
# (optional) domain to use for building the hostnames
|
||||||
# Defaults to $::os_service_default
|
# Defaults to $::os_service_default
|
||||||
#
|
#
|
||||||
# DEPRECATED
|
|
||||||
#
|
|
||||||
# [*enabled_apis*]
|
|
||||||
# (optional) A list of apis to enable
|
|
||||||
# Defaults to undef.
|
|
||||||
#
|
|
||||||
class nova::metadata(
|
class nova::metadata(
|
||||||
$neutron_metadata_proxy_shared_secret = undef,
|
$neutron_metadata_proxy_shared_secret = undef,
|
||||||
$metadata_cache_expiration = $::os_service_default,
|
$metadata_cache_expiration = $::os_service_default,
|
||||||
$local_metadata_per_cell = $::os_service_default,
|
$local_metadata_per_cell = $::os_service_default,
|
||||||
$dhcp_domain = $::os_service_default,
|
$dhcp_domain = $::os_service_default,
|
||||||
# DEPRECATED PARAMETERS
|
|
||||||
$enabled_apis = undef,
|
|
||||||
) inherits nova::params {
|
) inherits nova::params {
|
||||||
|
|
||||||
include nova::deps
|
include nova::deps
|
||||||
include nova::db
|
include nova::db
|
||||||
include nova::keystone::authtoken
|
include nova::keystone::authtoken
|
||||||
|
|
||||||
if $enabled_apis != undef {
|
|
||||||
warning('enabled_apis parameter is deprecated, use nova::compute::enabled_apis instead.')
|
|
||||||
}
|
|
||||||
|
|
||||||
nova_config {
|
nova_config {
|
||||||
'api/dhcp_domain': value => $dhcp_domain;
|
'api/dhcp_domain': value => $dhcp_domain;
|
||||||
'api/metadata_cache_expiration': value => $metadata_cache_expiration;
|
'api/metadata_cache_expiration': value => $metadata_cache_expiration;
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
The ``nova::metadata::enabled_api`` parameter has been removed.
|
Loading…
Reference in New Issue
Block a user