From 69eb2582c16733f1d796af284cc9c326b6d2c6af Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 7 Feb 2022 00:22:42 +0900 Subject: [PATCH] Simplify definition to ensure keystone resource creation Use the whole resource type instead of its individual resources, to rely on interface instead of implementation of the dependent module. Change-Id: Ida8de2bfea71a3c783f4b0e4503f284e0b89aeec --- manifests/keystone/auth.pp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/manifests/keystone/auth.pp b/manifests/keystone/auth.pp index 4a7960ab..6c275235 100644 --- a/manifests/keystone/auth.pp +++ b/manifests/keystone/auth.pp @@ -121,10 +121,7 @@ class trove::keystone::auth ( include trove::deps - Keystone_user_role["${auth_name}@${tenant}"] ~> Service <| tag == 'trove-service' |> - - Keystone_endpoint<| title == "${region}/${service_name}::${service_type}" |> - ~> Service <| tag == 'trove-service' |> + Keystone::Resource::Service_identity['trove'] -> Anchor['trove::service::end'] keystone::resource::service_identity { 'trove': configure_user => $configure_user,