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: Ibe18499a1ad815ce42f9b64821261fe721d40aff
Closes-Bug: #1468407
This commit is contained in:
ZhongShengping 2018-12-17 14:22:01 +08:00
parent f765eb0b0b
commit eb98733764
2 changed files with 11 additions and 1 deletions

View File

@ -30,6 +30,10 @@
# (Optional) Whether to configure the admin role for the service user. # (Optional) Whether to configure the admin role for the service user.
# Defaults to 'true'. # Defaults to 'true'.
# #
# [*service_description*]
# (Optional) Description of the service.
# Default to 'Openstack Cloudformation Service'
#
# [*service_name*] # [*service_name*]
# (Optional) Name of the service. # (Optional) Name of the service.
# Defaults to 'heat'. # Defaults to 'heat'.
@ -71,6 +75,7 @@ class heat::keystone::auth_cfn (
$email = 'heat-cfn@localhost', $email = 'heat-cfn@localhost',
$auth_name = 'heat-cfn', $auth_name = 'heat-cfn',
$service_name = 'heat-cfn', $service_name = 'heat-cfn',
$service_description = 'Openstack Cloudformation Service',
$service_type = 'cloudformation', $service_type = 'cloudformation',
$region = 'RegionOne', $region = 'RegionOne',
$tenant = 'services', $tenant = 'services',
@ -93,7 +98,7 @@ class heat::keystone::auth_cfn (
configure_endpoint => $configure_endpoint, configure_endpoint => $configure_endpoint,
configure_service => $configure_service, configure_service => $configure_service,
service_type => $service_type, service_type => $service_type,
service_description => 'Openstack Cloudformation Service', service_description => $service_description,
service_name => $service_name, service_name => $service_name,
region => $region, region => $region,
auth_name => $auth_name, auth_name => $auth_name,

View File

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