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
|
$real_service_name = $service_name
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if $configure_endpoint {
|
||||||
Keystone_endpoint["${region}/${real_service_name}"] ~> Service <| name == 'glance-api' |>
|
Keystone_endpoint["${region}/${real_service_name}"] ~> Service <| name == 'glance-api' |>
|
||||||
|
}
|
||||||
|
|
||||||
keystone::resource::service_identity { $auth_name:
|
keystone::resource::service_identity { $auth_name:
|
||||||
configure_user => $configure_user,
|
configure_user => $configure_user,
|
||||||
|
@ -95,7 +95,7 @@ describe 'glance::keystone::auth' do
|
|||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
it { is_expected.to_not contain_keystone_endpoint('glance') }
|
it { is_expected.to_not contain_keystone_endpoint('RegionOne/glance') }
|
||||||
end
|
end
|
||||||
|
|
||||||
describe 'when disabling user configuration' do
|
describe 'when disabling user configuration' do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user