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: I0900b756cb8cef92c5d451d9cce7ef8da4a0d7a4
This commit is contained in:
Takashi Kajinami 2022-02-07 00:00:49 +09:00
parent 18a54b0e9a
commit 574fbdbe45

View File

@ -149,12 +149,8 @@ class cinder::keystone::auth (
include cinder::deps
Keystone_user_role<| name == "${auth_name}@${tenant}" |> -> Anchor['cinder::service::end']
Keystone_user_role<| name == "${auth_name}@::::${system_scope}" |> -> Anchor['cinder::service::end']
if $configure_endpoint_v3 {
Keystone_endpoint["${region}/${service_name_v3}::${service_type_v3}"] -> Anchor['cinder::service::end']
}
Keystone::Resource::Service_identity['cinder'] -> Anchor['cinder::service::end']
Keystone::Resource::Service_identity['cinderv3'] -> Anchor['cinder::service::end']
# Always configure the original user and user roles, as these
# can be used by the v3 service.