Remove deprecated parameters for websocket service user
... because these parameters were deprecated during Yoga cycle[1] and
have had no effect since then.
[1] 7eeb46e04d
Change-Id: I6b2ee2e3e9fb633f5f3c6fa9b2e4106e5430484e
This commit is contained in:
parent
d3e8ce069a
commit
ff956c7a5b
@ -40,28 +40,6 @@
|
|||||||
# (Optional) Description for keystone service.
|
# (Optional) Description for keystone service.
|
||||||
# Defaults to 'OpenStack Messaging Websocket Service'.
|
# Defaults to 'OpenStack Messaging Websocket Service'.
|
||||||
#
|
#
|
||||||
# DEPRECATED PARAMETERS
|
|
||||||
#
|
|
||||||
# [*password*]
|
|
||||||
# (Optional) Password for zaqar websocket user. Defaults to undef.
|
|
||||||
#
|
|
||||||
# [*auth_name*]
|
|
||||||
# (Optional) Username for zaqar service. Defaults to undef.
|
|
||||||
#
|
|
||||||
# [*email*]
|
|
||||||
# (Optional) Email for zaqar websocket user. Defaults to undef.
|
|
||||||
#
|
|
||||||
# [*tenant*]
|
|
||||||
# (Optional) Tenant for zaqar websocket user. Defaults to undef.
|
|
||||||
#
|
|
||||||
# [*configure_user*]
|
|
||||||
# (Optional) Should the service user be configured?
|
|
||||||
# Defaults to undef
|
|
||||||
#
|
|
||||||
# [*configure_user_role*]
|
|
||||||
# (Optional) Whether to configure the admin role for the service user.
|
|
||||||
# Defaults to undef
|
|
||||||
#
|
|
||||||
class zaqar::keystone::auth_websocket(
|
class zaqar::keystone::auth_websocket(
|
||||||
$service_name = 'zaqar-websocket',
|
$service_name = 'zaqar-websocket',
|
||||||
$service_type = 'messaging-websocket',
|
$service_type = 'messaging-websocket',
|
||||||
@ -72,30 +50,10 @@ class zaqar::keystone::auth_websocket(
|
|||||||
$configure_endpoint = true,
|
$configure_endpoint = true,
|
||||||
$configure_service = true,
|
$configure_service = true,
|
||||||
$service_description = 'OpenStack Messaging Websocket Service',
|
$service_description = 'OpenStack Messaging Websocket Service',
|
||||||
# DEPRECATED PARAMETERS
|
|
||||||
$auth_name = undef,
|
|
||||||
$password = undef,
|
|
||||||
$email = undef,
|
|
||||||
$tenant = undef,
|
|
||||||
$configure_user = undef,
|
|
||||||
$configure_user_role = undef,
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
include zaqar::deps
|
include zaqar::deps
|
||||||
|
|
||||||
[
|
|
||||||
'auth_name',
|
|
||||||
'password',
|
|
||||||
'email',
|
|
||||||
'tenant',
|
|
||||||
'configure_user',
|
|
||||||
'configure_user_role'
|
|
||||||
].each |String $param| {
|
|
||||||
if getvar($param) != undef {
|
|
||||||
warning("The zaqar::keystone::auth_websocket::${param} parameter is deprecated and has no effect")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Keystone::Resource::Service_identity['zaqar-websocket'] -> Anchor['zaqar::service::end']
|
Keystone::Resource::Service_identity['zaqar-websocket'] -> Anchor['zaqar::service::end']
|
||||||
|
|
||||||
keystone::resource::service_identity { 'zaqar-websocket':
|
keystone::resource::service_identity { 'zaqar-websocket':
|
||||||
|
@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
The following parameters of the ``zaqar::keystone::auth_websocket`` class
|
||||||
|
have been removed.
|
||||||
|
|
||||||
|
- ``configure_user``
|
||||||
|
- ``configure_user_role``
|
||||||
|
- ``auth_name``
|
||||||
|
- ``password``
|
||||||
|
- ``email``
|
||||||
|
- ``tenant``
|
Loading…
Reference in New Issue
Block a user