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: Iaa635579908ded39130305170ac3f8feaef2d9ed
This commit is contained in:
Takashi Kajinami
2022-02-07 00:06:31 +09:00
parent b0656ac23b
commit e5edd14ed1

View File

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