image: ensure notifier is really disable

On RHEL, notifier is at "qpid" but we need to disable it for now.
See https://github.com/enovance/puppet-openstack-cloud/issues/160

Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
Emilien Macchi
2014-04-16 18:09:36 +02:00
parent f83cdc3a52
commit e8bc8eb33f
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(