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:
@@ -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,
|
||||
|
@@ -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(
|
||||
|
Reference in New Issue
Block a user