From 006aef41bb1bc458e7578ae62023b15d66ef5c22 Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Mon, 17 Dec 2018 14:32:29 +0800 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: Id1baa0efbd5087c18d39f2c7d4089f6fb31f6bfd Closes-Bug: #1468407 --- manifests/keystone/auth.pp | 7 ++++++- .../add-service_description-option-ad2c25fa954eed8a.yaml | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/add-service_description-option-ad2c25fa954eed8a.yaml diff --git a/manifests/keystone/auth.pp b/manifests/keystone/auth.pp index 3c16110..6c18818 100644 --- a/manifests/keystone/auth.pp +++ b/manifests/keystone/auth.pp @@ -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 'Root Cause Analysis Service' +# # [*public_url*] # (Optional) The endpoint's public url. # This url should *not* contain any trailing '/'. @@ -66,6 +70,7 @@ class vitrage::keystone::auth ( $configure_endpoint = true, $configure_user = true, $configure_user_role = true, + $service_description = 'Root Cause Analysis Service', $service_name = undef, $service_type = 'rca', $region = 'RegionOne', @@ -84,7 +89,7 @@ class vitrage::keystone::auth ( configure_endpoint => $configure_endpoint, service_name => $real_service_name, service_type => $service_type, - service_description => 'Root Cause Analysis Service', + service_description => $service_description, region => $region, auth_name => $auth_name, password => $password, diff --git a/releasenotes/notes/add-service_description-option-ad2c25fa954eed8a.yaml b/releasenotes/notes/add-service_description-option-ad2c25fa954eed8a.yaml new file mode 100644 index 0000000..64d63f1 --- /dev/null +++ b/releasenotes/notes/add-service_description-option-ad2c25fa954eed8a.yaml @@ -0,0 +1,5 @@ +--- +features: + - | + Adds the service_description option to config description + of the service.