Merge pull request #431 from enovance/disable-notifier-glance

image: ensure notifier is really disabled
This commit is contained in:
Sebastien Badia
2014-04-17 15:20:41 +02:00
2 changed files with 5 additions and 0 deletions

View File

@@ -145,6 +145,10 @@ class cloud::image(
# rabbit_userid => 'glance',
# rabbit_host => $rabbit_host,
# }
glance_api_config {
# TODO(EmilienM) Will be deprecated in Icehouse for notification_driver.
'DEFAULT/notifier_strategy': value => 'noop';
}
class { 'glance::backend::rbd':
rbd_store_user => $glance_rbd_user,

View File

@@ -92,6 +92,7 @@ describe 'cloud::image' do
# :rabbit_host => '10.0.0.1'
# )
# end
it { should contain_glance_api_config('DEFAULT/notifier_strategy').with_value('noop') }
it 'configure glance rbd backend' do
should contain_class('glance::backend::rbd').with(