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: Ief760b7c1b74b567c0e34b2e828f40906c8b628b
Closes-Bug: #1468407
This commit is contained in:
ZhongShengping 2018-12-17 14:25:53 +08:00
parent cc74d8b692
commit a5cc5a37b6
2 changed files with 11 additions and 1 deletions

View File

@ -43,6 +43,10 @@
# (Optional) Name of the service.
# Defaults to the value of auth_name.
#
# [*service_description*]
# (Optional) Description of the service.
# Default to 'magnum Container Service'
#
# [*public_url*]
# (0ptional) The endpoint's public url.
# This url should *not* contain any trailing '/'.
@ -65,6 +69,7 @@ class magnum::keystone::auth (
$configure_endpoint = true,
$configure_user = true,
$configure_user_role = true,
$service_description = 'magnum Container Service',
$service_name = undef,
$service_type = 'container-infra',
$region = 'RegionOne',
@ -88,7 +93,7 @@ class magnum::keystone::auth (
configure_endpoint => $configure_endpoint,
service_name => $real_service_name,
service_type => $service_type,
service_description => 'magnum Container Service',
service_description => $service_description,
region => $region,
auth_name => $auth_name,
password => $password,

View File

@ -0,0 +1,5 @@
---
features:
- |
Adds the service_description option to config description
of the service.