keystone/auth: make service description configurable
This commit adds the service description as a class parameter in order to allow users to update from a previous version if the service description is changed (incorrectly spelled or wrong description) Change-Id: I06c8ef5891e30df1edc491145f3bba83485f995e Closes-Bug: #1468407
This commit is contained in:
parent
af6f3d9839
commit
1dcb9be147
|
@ -43,6 +43,10 @@
|
||||||
# (Optional) Name of the service.
|
# (Optional) Name of the service.
|
||||||
# Defaults to 'aodh'.
|
# Defaults to 'aodh'.
|
||||||
#
|
#
|
||||||
|
# [*service_description*]
|
||||||
|
# (Optional) Description of the service.
|
||||||
|
# Default to 'OpenStack Alarming Service'
|
||||||
|
#
|
||||||
# [*public_url*]
|
# [*public_url*]
|
||||||
# (0ptional) The endpoint's public url.
|
# (0ptional) The endpoint's public url.
|
||||||
# This url should *not* contain any trailing '/'.
|
# This url should *not* contain any trailing '/'.
|
||||||
|
@ -66,6 +70,7 @@ class aodh::keystone::auth (
|
||||||
$configure_endpoint = true,
|
$configure_endpoint = true,
|
||||||
$configure_user = true,
|
$configure_user = true,
|
||||||
$configure_user_role = true,
|
$configure_user_role = true,
|
||||||
|
$service_description = 'OpenStack Alarming Service',
|
||||||
$service_name = 'aodh',
|
$service_name = 'aodh',
|
||||||
$service_type = 'alarming',
|
$service_type = 'alarming',
|
||||||
$region = 'RegionOne',
|
$region = 'RegionOne',
|
||||||
|
@ -82,7 +87,7 @@ class aodh::keystone::auth (
|
||||||
configure_endpoint => $configure_endpoint,
|
configure_endpoint => $configure_endpoint,
|
||||||
service_name => $service_name,
|
service_name => $service_name,
|
||||||
service_type => $service_type,
|
service_type => $service_type,
|
||||||
service_description => 'OpenStack Alarming Service',
|
service_description => $service_description,
|
||||||
region => $region,
|
region => $region,
|
||||||
auth_name => $auth_name,
|
auth_name => $auth_name,
|
||||||
password => $password,
|
password => $password,
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Adds the service_description option to config description
|
||||||
|
of the service.
|
Loading…
Reference in New Issue