Merge "Deprecate unused parameters in placement::api"
This commit is contained in:
@@ -19,14 +19,6 @@
|
|||||||
# to make placement-api be a web app using apache mod_wsgi.
|
# to make placement-api be a web app using apache mod_wsgi.
|
||||||
# Defaults to $::placement::params::service_name
|
# 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*]
|
# [*package_ensure*]
|
||||||
# (optional) ensure state for package.
|
# (optional) ensure state for package.
|
||||||
# Defaults to 'present'
|
# Defaults to 'present'
|
||||||
@@ -35,14 +27,25 @@
|
|||||||
# (optional) Run placement-manage db sync on api nodes after installing the package.
|
# (optional) Run placement-manage db sync on api nodes after installing the package.
|
||||||
# Defaults to false
|
# 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 (
|
class placement::api (
|
||||||
$enabled = true,
|
$enabled = true,
|
||||||
$manage_service = true,
|
$manage_service = true,
|
||||||
$api_service_name = $::placement::params::service_name,
|
$api_service_name = $::placement::params::service_name,
|
||||||
$host = '0.0.0.0',
|
|
||||||
$port = '8778',
|
|
||||||
$package_ensure = 'present',
|
$package_ensure = 'present',
|
||||||
$sync_db = false,
|
$sync_db = false,
|
||||||
|
# DEPRECATED PARAMETERS
|
||||||
|
$host = undef,
|
||||||
|
$port = undef,
|
||||||
) inherits placement::params {
|
) inherits placement::params {
|
||||||
|
|
||||||
include placement::deps
|
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``
|
Reference in New Issue
Block a user