From 8c2a3a43222b5fbd016f11c7c00c514b86b7ead0 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 23 Aug 2021 08:36:03 +0900 Subject: [PATCH] Fix ignored parameters of aodh::auth The aodh::auth class has been deprecated in favor of the new aodh::service_credentials class but some of its parameters are ignored because of the wrong parameter name. This change fixes it and ensure all parameters are used even when the deprecated class is used. Change-Id: I887c7605eca21cb7269d4c0188378aabaeb03721 --- manifests/service_credentials.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/service_credentials.pp b/manifests/service_credentials.pp index 8b9219c7..fb30f462 100644 --- a/manifests/service_credentials.pp +++ b/manifests/service_credentials.pp @@ -66,8 +66,8 @@ class aodh::service_credentials ( } $auth_url_real = pick($::aodh::auth::auth_url, $auth_url) - $region_name_real = pick($::aodh::auth_region, $region_name) - $username_real = pick($::aodh::auth_user, $username) + $region_name_real = pick($::aodh::auth::auth_region, $region_name) + $username_real = pick($::aodh::auth::auth_user, $username) $project_name_real = pick($::aodh::auth::auth_project_name, $project_name) $project_domain_name_real = pick($::aodh::auth::project_domain_name, $project_domain_name) $user_domain_name_real = pick($::aodh::auth::user_domain_name, $user_domain_name)