From be7f05f2d1b7c508001bde1149830f8cf792b356 Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Mon, 17 Dec 2018 14:28:38 +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: I6a39ad07e76c388b7262d196a30a1ae28d0f6203 Closes-Bug: #1468407 --- manifests/keystone/auth.pp | 7 ++++++- .../add-service_description-option-b1f36384181629be.yaml | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/add-service_description-option-b1f36384181629be.yaml diff --git a/manifests/keystone/auth.pp b/manifests/keystone/auth.pp index 87d612a5..09deca5f 100644 --- a/manifests/keystone/auth.pp +++ b/manifests/keystone/auth.pp @@ -43,6 +43,10 @@ # (Optional) Name of the service. # Defaults to 'octavia' # +# [*service_description*] +# (Optional) Description of the service. +# Default to 'Octavia Service' +# # [*public_url*] # (0ptional) The endpoint's public url. # This url should *not* contain any trailing '/'. @@ -66,6 +70,7 @@ class octavia::keystone::auth ( $configure_endpoint = true, $configure_user = true, $configure_user_role = true, + $service_description = 'Octavia Service', $service_name = 'octavia', $service_type = 'load-balancer', $region = 'RegionOne', @@ -82,7 +87,7 @@ class octavia::keystone::auth ( configure_endpoint => $configure_endpoint, service_name => $service_name, service_type => $service_type, - service_description => 'Octavia Service', + service_description => $service_description, region => $region, auth_name => $auth_name, password => $password, diff --git a/releasenotes/notes/add-service_description-option-b1f36384181629be.yaml b/releasenotes/notes/add-service_description-option-b1f36384181629be.yaml new file mode 100644 index 00000000..64d63f15 --- /dev/null +++ b/releasenotes/notes/add-service_description-option-b1f36384181629be.yaml @@ -0,0 +1,5 @@ +--- +features: + - | + Adds the service_description option to config description + of the service.