apache: Remove deprecated api_port parameter
The parameter was deprecated in favor of the port parameter during the previous cycle. Change-Id: If9c672972d30ce46251c8d3353de6ff818bbc486
This commit is contained in:
parent
98373072c8
commit
cf976fc5dd
@ -119,12 +119,6 @@
|
||||
# directives to be placed at the end of the vhost configuration.
|
||||
# Defaults to undef.
|
||||
#
|
||||
# DEPRECATED PARAMETERS
|
||||
#
|
||||
# [*api_port*]
|
||||
# (Optional) The port for Placement API service.
|
||||
# Defaults to undef
|
||||
#
|
||||
# == Dependencies
|
||||
#
|
||||
# requires Class['apache'] & Class['placement']
|
||||
@ -163,8 +157,6 @@ class placement::wsgi::apache (
|
||||
$headers = undef,
|
||||
$request_headers = undef,
|
||||
$vhost_custom_fragment = undef,
|
||||
# DEPRECATED PARAMETERS
|
||||
$api_port = undef,
|
||||
) {
|
||||
|
||||
include placement::deps
|
||||
@ -172,13 +164,9 @@ class placement::wsgi::apache (
|
||||
|
||||
Anchor['placement::install::end'] -> Class['apache']
|
||||
|
||||
if $api_port {
|
||||
warning('The api_port parameter is deprecated. Use the port parameter')
|
||||
}
|
||||
|
||||
::openstacklib::wsgi::apache { 'placement_wsgi':
|
||||
bind_host => $bind_host,
|
||||
bind_port => pick($api_port, $port),
|
||||
bind_port => $port,
|
||||
group => 'placement',
|
||||
path => $path,
|
||||
priority => $priority,
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
The ``placement::wsgi::apache::api_port`` parameter has been removed. Use
|
||||
the ``port`` parameter instead.
|
Loading…
x
Reference in New Issue
Block a user