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, log_facility => $log_facility,
} }
class { 'glance::notify::rabbitmq': # TODO(EmilienM) Disabled for now
rabbit_password => $rabbit_password, # Follow-up: https://github.com/enovance/puppet-cloud/issues/160
rabbit_userid => 'glance', #
rabbit_host => $rabbit_host, # class { 'glance::notify::rabbitmq':
} # rabbit_password => $rabbit_password,
# rabbit_userid => 'glance',
# rabbit_host => $rabbit_host,
# }
class { 'glance::backend::rbd': class { 'glance::backend::rbd':
rbd_store_user => $rbd_store_user, rbd_store_user => $rbd_store_user,

View File

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