image/api: update notifications driver for icehouse

This commit is contained in:
Emilien Macchi
2014-04-26 20:34:41 +02:00
parent 765753969c
commit e99e5d0a6e
2 changed files with 2 additions and 3 deletions

View File

@@ -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':

View File

@@ -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(