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: I5c8a8e62e886d4778b44176a85c00717e57500ee
Closes-Bug: #1468407
This commit is contained in:
Sebastien Badia 2015-06-24 17:50:52 +02:00
parent 18cb802445
commit c8f4c4cd17

View File

@ -32,6 +32,10 @@
# [*service_type*]
# Type of service. Defaults to 'network'.
#
# [*service_description*]
# Description for keystone service.
# (optional) Defaults to 'Neutron Networking Service'.
#
# [*region*]
# Region for endpoint. Defaults to 'RegionOne'.
#
@ -111,6 +115,7 @@ class neutron::keystone::auth (
$configure_user_role = true,
$service_name = undef,
$service_type = 'network',
$service_description = 'Neutron Networking Service',
$region = 'RegionOne',
$public_url = 'http://127.0.0.1:9696',
$admin_url = 'http://127.0.0.1:9696',
@ -196,7 +201,7 @@ class neutron::keystone::auth (
configure_user_role => $configure_user_role,
configure_endpoint => $configure_endpoint,
service_type => $service_type,
service_description => 'Neutron Networking Service',
service_description => $service_description,
service_name => $real_service_name,
region => $region,
password => $password,