Add new cinder::volume::rbd params (closes #85)

Manage rbd configuration for cinder.
This commit is contained in:
Sebastien Badia
2014-01-29 01:40:05 +01:00
parent 05917ef1d8
commit dbb3788b15
2 changed files with 55 additions and 13 deletions

View File

@@ -72,10 +72,13 @@ describe 'cloud::volume::storage' do
should contain_class('cinder::volume')
should contain_class('cinder::volume::rbd').with(
:rbd_pool => 'ceph_cinder',
:glance_api_version => '2',
:rbd_user => 'cinder',
:rbd_secret_uuid => 'secrete'
:rbd_pool => 'ceph_cinder',
:glance_api_version => '2',
:rbd_user => 'cinder',
:rbd_secret_uuid => 'secrete',
:rbd_ceph_conf => '/etc/ceph/ceph.conf',
:rbd_flatten_volume_from_snapshot => false,
:rbd_max_clone_depth => '5'
)
end