glance: disable rabbit notifications
Close bug #160 Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
		@@ -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,
 | 
			
		||||
 
 | 
			
		||||
@@ -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(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user