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: I86dcdb118a229cfdf7b0cde8010eb26b71a0ab32
Closes-Bug: #1468407
This commit is contained in:
Sebastien Badia 2015-06-24 17:50:58 +02:00
parent 2fb57a36b8
commit b2fae35db5
1 changed files with 5 additions and 1 deletions

View File

@ -20,6 +20,9 @@
# [*service_type*]
# Type of service. Optional. Defaults to 'share'.
#
# [*service_description*]
# Description for keystone service. Optional. Defaults to 'Manila Service'.
#
# [*region*]
# Region for endpoint. Optional. Defaults to 'RegionOne'.
#
@ -98,6 +101,7 @@ class manila::keystone::auth (
$tenant = 'services',
$configure_endpoint = true,
$service_type = 'share',
$service_description = 'Manila Service',
$region = 'RegionOne',
$public_url = 'http://127.0.0.1:8786/v1/%(tenant_id)s',
$admin_url = 'http://127.0.0.1:8786/v1/%(tenant_id)s',
@ -182,7 +186,7 @@ class manila::keystone::auth (
configure_user_role => true,
configure_endpoint => $configure_endpoint,
service_type => $service_type,
service_description => 'Manila Service',
service_description => $service_description,
region => $region,
password => $password,
email => $email,