Merge "Simplify definition to ensure keystone resource creation"

This commit is contained in:
Zuul 2022-02-07 16:45:54 +00:00 committed by Gerrit Code Review
commit 4440bd74be

View File

@ -97,12 +97,7 @@ class magnum::keystone::auth (
$real_service_name = pick($service_name, $auth_name)
if $configure_user_role {
Keystone_user_role["${auth_name}@${tenant}"] ~> Service <| name == 'magnum-server' |>
}
if $configure_endpoint {
Keystone_endpoint["${region}/${real_service_name}::${service_name}"] ~> Service <| name == 'magnum-server' |>
}
Keystone::Resource::Service_identity['magnum'] -> Anchor['magnum::service::end']
keystone::resource::service_identity { 'magnum':
configure_user => $configure_user,