From b2fae35db5b6b1bb9d41a99cde04c657ec716681 Mon Sep 17 00:00:00 2001 From: Sebastien Badia Date: Wed, 24 Jun 2015 17:50:58 +0200 Subject: [PATCH] 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 --- manifests/keystone/auth.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/manifests/keystone/auth.pp b/manifests/keystone/auth.pp index 43fd8ab8..dcc4be1c 100644 --- a/manifests/keystone/auth.pp +++ b/manifests/keystone/auth.pp @@ -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,