Ensure all keystone resources are created

Change-Id: Id0da55ac9335e256765fa4110dc254f7383bf620
This commit is contained in:
Takashi Kajinami 2023-12-25 00:59:23 +09:00
parent 55df880f95
commit 3fc6cb92b0

View File

@ -138,15 +138,11 @@ class swift::keystone::auth(
include swift::deps
if $service_name == $service_name_s3 {
fail('swift::keystone::auth parameters service_name and service_name_s3 must be different.')
fail('swift::keystone::auth parameters service_name and service_name_s3 must be different.')
}
if $configure_endpoint {
Keystone_endpoint["${region}/${service_name}::${service_type}"] -> Anchor['swift::service::end']
}
if $configure_s3_endpoint {
Keystone_endpoint["${region}/${service_name_s3}::${service_type_s3}"] -> Anchor['swift::service::end']
}
Keystone::Resource::Service_identity['swift'] -> Anchor['swift::service::end']
Keystone::Resource::Service_identity['swift_s3'] -> Anchor['swift::service::end']
keystone::resource::service_identity { 'swift':
configure_endpoint => $configure_endpoint,