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: Ie36c8a096c33a475b21a1dc02a04de49d35be9c9
This commit is contained in:
Takashi Kajinami 2022-02-06 16:56:21 +09:00
parent 0eb8b285cf
commit 1b70d0c380
1 changed files with 1 additions and 6 deletions

View File

@ -96,12 +96,7 @@ class aodh::keystone::auth (
include aodh::deps
Keystone_user_role<| name == "${auth_name}@${tenant}" |> -> Anchor['aodh::service::end']
Keystone_user_role<| name == "${auth_name}@::::${system_scope}" |> -> Anchor['aodh::service::end']
if $configure_endpoint {
Keystone_endpoint["${region}/${service_name}::${service_type}"] -> Anchor['aodh::service::end']
}
Keystone::Resource::Service_identity['aodh'] -> Anchor['aodh::service::end']
keystone::resource::service_identity { 'aodh':
configure_user => $configure_user,