Merge pull request #118 from enovance/bug/116/emilien
Include cinder::volume in cloud::volume::storage
This commit is contained in:
commit
8d9eba03da
@ -25,6 +25,8 @@ class cloud::volume::storage(
|
|||||||
|
|
||||||
include 'cloud::volume'
|
include 'cloud::volume'
|
||||||
|
|
||||||
|
include 'cinder::volume'
|
||||||
|
|
||||||
class { 'cinder::volume::rbd':
|
class { 'cinder::volume::rbd':
|
||||||
rbd_pool => $cinder_rbd_pool,
|
rbd_pool => $cinder_rbd_pool,
|
||||||
glance_api_version => $glance_api_version,
|
glance_api_version => $glance_api_version,
|
||||||
|
@ -59,6 +59,9 @@ describe 'cloud::volume::storage' do
|
|||||||
end
|
end
|
||||||
|
|
||||||
it 'configure cinder volume with rbd backend' do
|
it 'configure cinder volume with rbd backend' do
|
||||||
|
|
||||||
|
should include_class('cinder::volume')
|
||||||
|
|
||||||
should contain_class('cinder::volume::rbd').with(
|
should contain_class('cinder::volume::rbd').with(
|
||||||
:rbd_pool => 'ceph_cinder',
|
:rbd_pool => 'ceph_cinder',
|
||||||
:glance_api_version => '2',
|
:glance_api_version => '2',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user