Merge "Fix catalog compilation when not configuring endpoint"
This commit is contained in:
commit
0eed538b35
@ -83,7 +83,9 @@ class glance::keystone::auth(
|
||||
$real_service_name = $service_name
|
||||
}
|
||||
|
||||
Keystone_endpoint["${region}/${real_service_name}"] ~> Service <| name == 'glance-api' |>
|
||||
if $configure_endpoint {
|
||||
Keystone_endpoint["${region}/${real_service_name}"] ~> Service <| name == 'glance-api' |>
|
||||
}
|
||||
|
||||
keystone::resource::service_identity { $auth_name:
|
||||
configure_user => $configure_user,
|
||||
|
@ -95,7 +95,7 @@ describe 'glance::keystone::auth' do
|
||||
}
|
||||
end
|
||||
|
||||
it { is_expected.to_not contain_keystone_endpoint('glance') }
|
||||
it { is_expected.to_not contain_keystone_endpoint('RegionOne/glance') }
|
||||
end
|
||||
|
||||
describe 'when disabling user configuration' do
|
||||
|
Loading…
Reference in New Issue
Block a user