Deprecate unused parameters in placement::api
Change-Id: I322da7009c94b3e947df1d853c2abc12685a6fa0
This commit is contained in:
parent
34cb28a6f8
commit
14a73aff46
@ -19,14 +19,6 @@
|
||||
# to make placement-api be a web app using apache mod_wsgi.
|
||||
# Defaults to $::placement::params::service_name
|
||||
#
|
||||
# [*host*]
|
||||
# (optional) The placement api bind address.
|
||||
# Defaults to '0.0.0.0'
|
||||
#
|
||||
# [*port*]
|
||||
# (optional) Th e placement api port.
|
||||
# Defaults to '8778'
|
||||
#
|
||||
# [*package_ensure*]
|
||||
# (optional) ensure state for package.
|
||||
# Defaults to 'present'
|
||||
@ -35,14 +27,25 @@
|
||||
# (optional) Run placement-manage db sync on api nodes after installing the package.
|
||||
# Defaults to false
|
||||
#
|
||||
# DEPRECATED PARAMETERS
|
||||
#
|
||||
# [*host*]
|
||||
# (optional) The placement api bind address.
|
||||
# Defaults to undef
|
||||
#
|
||||
# [*port*]
|
||||
# (optional) Th e placement api port.
|
||||
# Defaults to undef
|
||||
#
|
||||
class placement::api (
|
||||
$enabled = true,
|
||||
$manage_service = true,
|
||||
$api_service_name = $::placement::params::service_name,
|
||||
$host = '0.0.0.0',
|
||||
$port = '8778',
|
||||
$package_ensure = 'present',
|
||||
$sync_db = false,
|
||||
# DEPRECATED PARAMETERS
|
||||
$host = undef,
|
||||
$port = undef,
|
||||
) inherits placement::params {
|
||||
|
||||
include placement::deps
|
||||
|
@ -0,0 +1,8 @@
|
||||
---
|
||||
deprecations:
|
||||
- |
|
||||
The following two parameter have been deprecated, because they have had no
|
||||
effect since added.
|
||||
|
||||
- ``placement::api::host``
|
||||
- ``placement::api::port``
|
Loading…
Reference in New Issue
Block a user