Include cinder::volume in cloud::volume::storage
It's a dependency which was missing to run cinder-volume. Close #116 Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
		@@ -25,6 +25,8 @@ class cloud::volume::storage(
 | 
			
		||||
 | 
			
		||||
  include 'cloud::volume'
 | 
			
		||||
 | 
			
		||||
  include 'cinder::volume'
 | 
			
		||||
 | 
			
		||||
  class { 'cinder::volume::rbd':
 | 
			
		||||
    rbd_pool           => $cinder_rbd_pool,
 | 
			
		||||
    glance_api_version => $glance_api_version,
 | 
			
		||||
 
 | 
			
		||||
@@ -59,6 +59,9 @@ describe 'cloud::volume::storage' do
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    it 'configure cinder volume with rbd backend' do
 | 
			
		||||
 | 
			
		||||
      should include_class('cinder::volume')
 | 
			
		||||
 | 
			
		||||
      should contain_class('cinder::volume::rbd').with(
 | 
			
		||||
          :rbd_pool           => 'ceph_cinder',
 | 
			
		||||
          :glance_api_version => '2',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user