glance: disable rabbit notifications

Close bug #160

Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
Emilien Macchi 2014-02-12 14:15:52 +01:00
parent 87c9973a57
commit e5680ab0d4
2 changed files with 18 additions and 12 deletions

View File

@ -121,11 +121,14 @@ class cloud::image(
log_facility => $log_facility,
}
class { 'glance::notify::rabbitmq':
rabbit_password => $rabbit_password,
rabbit_userid => 'glance',
rabbit_host => $rabbit_host,
}
# TODO(EmilienM) Disabled for now
# Follow-up: https://github.com/enovance/puppet-cloud/issues/160
#
# class { 'glance::notify::rabbitmq':
# rabbit_password => $rabbit_password,
# rabbit_userid => 'glance',
# rabbit_host => $rabbit_host,
# }
class { 'glance::backend::rbd':
rbd_store_user => $rbd_store_user,

View File

@ -76,13 +76,16 @@ describe 'cloud::image' do
)
end
it 'configure glance notifications with rabbitmq backend' do
should contain_class('glance::notify::rabbitmq').with(
:rabbit_password => 'secrete',
:rabbit_userid => 'glance',
:rabbit_host => '10.0.0.1'
)
end
# TODO(EmilienM) Disabled for now
# Follow-up https://github.com/enovance/puppet-cloud/issues/160
#
# it 'configure glance notifications with rabbitmq backend' do
# should contain_class('glance::notify::rabbitmq').with(
# :rabbit_password => 'secrete',
# :rabbit_userid => 'glance',
# :rabbit_host => '10.0.0.1'
# )
# end
it 'configure glance rbd backend' do
should contain_class('glance::backend::rbd').with(