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