Fix typo in Ceph backup driver for Cinder

Backported from upstream: I54eceeb366a7ccd7e78b382fcb8830106f9153d3

Related-Bug: 1411635
Change-Id: I4033b91f36cae09c99b6fc295f8ad0d1d3215e2f
This commit is contained in:
Bartłomiej Piotrowski 2015-01-22 14:17:04 +01:00
parent 673808c5bd
commit 7402b1a66b
2 changed files with 6 additions and 2 deletions

View File

@ -21,6 +21,10 @@
#
# === Parameters
#
# [*backup_driver*]
# (optional) Which cinder backup driver to use
# Defaults to 'cinder.backup.drivers.ceph'
#
# [*backup_ceph_conf*]
# (optional) Ceph config file to use.
# Should be a valid ceph configuration file
@ -54,7 +58,7 @@
#
class cinder::backup::ceph (
$backup_driver = 'cinder.backup.driver.ceph',
$backup_driver = 'cinder.backup.drivers.ceph',
$backup_ceph_conf = '/etc/ceph/ceph.conf',
$backup_ceph_user = 'cinder',
$backup_ceph_chunk_size = '134217728',

View File

@ -41,7 +41,7 @@ describe 'cinder::backup::ceph' do
end
it 'configures cinder.conf' do
should contain_cinder_config('DEFAULT/backup_driver').with_value('cinder.backup.driver.ceph')
should contain_cinder_config('DEFAULT/backup_driver').with_value('cinder.backup.drivers.ceph')
should contain_cinder_config('DEFAULT/backup_ceph_conf').with_value(p[:backup_ceph_conf])
should contain_cinder_config('DEFAULT/backup_ceph_user').with_value(p[:backup_ceph_user])
should contain_cinder_config('DEFAULT/backup_ceph_chunk_size').with_value(p[:backup_ceph_chunk_size])