image/api: update notifications driver for icehouse
This commit is contained in:
@@ -131,8 +131,7 @@ class cloud::image::api(
|
|||||||
# rabbit_host => $rabbit_host,
|
# rabbit_host => $rabbit_host,
|
||||||
# }
|
# }
|
||||||
glance_api_config {
|
glance_api_config {
|
||||||
# TODO(EmilienM) Will be deprecated in Icehouse for notification_driver.
|
'DEFAULT/notifier_driver': value => 'noop';
|
||||||
'DEFAULT/notifier_strategy': value => 'noop';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class { 'glance::backend::rbd':
|
class { 'glance::backend::rbd':
|
||||||
|
@@ -92,7 +92,7 @@ describe 'cloud::image' do
|
|||||||
# :rabbit_host => '10.0.0.1'
|
# :rabbit_host => '10.0.0.1'
|
||||||
# )
|
# )
|
||||||
# end
|
# end
|
||||||
it { should contain_glance_api_config('DEFAULT/notifier_strategy').with_value('noop') }
|
it { should contain_glance_api_config('DEFAULT/notifier_driver').with_value('noop') }
|
||||||
|
|
||||||
it 'configure glance rbd backend' do
|
it 'configure glance rbd backend' do
|
||||||
should contain_class('glance::backend::rbd').with(
|
should contain_class('glance::backend::rbd').with(
|
||||||
|
Reference in New Issue
Block a user