Merge "Cleanup deprecated parameters in manila::api"

This commit is contained in:
Zuul 2020-04-27 15:55:34 +00:00 committed by Gerrit Code Review
commit 3082320c33
2 changed files with 7 additions and 23 deletions

View File

@ -67,18 +67,6 @@
# (optional) Number of manila-api workers
# Defaults to $::os_workers
#
# === DEPRECATED PARAMTERS
#
# [*service_port*]
# (optional) DEPRECATED. The manila api port
# Defaults to undef
#
# [*os_region_name*]
# (optional) Some operations require manila to make API requests
# to Nova. This sets the keystone region to be used for these
# requests. For example, boot-from-share.
# Defaults to undef.
#
class manila::api (
$auth_strategy = 'keystone',
$package_ensure = 'present',
@ -94,9 +82,6 @@ class manila::api (
$max_request_body_size = $::os_service_default,
$enabled_share_protocols = $::os_service_default,
$service_workers = $::os_workers,
# Deprecated
$service_port = undef,
$os_region_name = undef,
) inherits manila::params {
include manila::deps
@ -104,14 +89,6 @@ class manila::api (
include manila::policy
require ::keystone::client
if $service_port {
warning('service port is deprecated and will be removed in a future release')
}
if $os_region_name {
warning('The os_region_name option is deprecated and will be removed in a future release')
}
if $::manila::params::api_package {
package { 'manila-api':
ensure => $package_ensure,

View File

@ -0,0 +1,7 @@
---
features:
- |
The following parameters in ``manila::api`` class has been removed.
- ``service_port``
- ``os_region_name``