Merge "Skip dependency on keystone endpoint if endpoint is not configured"

This commit is contained in:
Zuul 2021-10-01 00:20:27 +00:00 committed by Gerrit Code Review
commit 9544eb58ed
1 changed files with 3 additions and 1 deletions

View File

@ -84,7 +84,9 @@ class barbican::keystone::auth (
if $configure_user_role {
Keystone_user_role["${auth_name}@${tenant}"] ~> Anchor['barbican::service::end']
}
Keystone_endpoint["${region}/${service_name}::${service_type}"] ~> Anchor['barbican::service::end']
if $configure_endpoint {
Keystone_endpoint["${region}/${service_name}::${service_type}"] ~> Anchor['barbican::service::end']
}
keystone::resource::service_identity { 'barbican':
configure_user => $configure_user,