diff --git a/manifests/backup/ceph.pp b/manifests/backup/ceph.pp index 9ac208ab..dac0adc8 100644 --- a/manifests/backup/ceph.pp +++ b/manifests/backup/ceph.pp @@ -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', diff --git a/spec/classes/cinder_backup_ceph_spec.rb b/spec/classes/cinder_backup_ceph_spec.rb index bedd7cdc..8c3a5521 100644 --- a/spec/classes/cinder_backup_ceph_spec.rb +++ b/spec/classes/cinder_backup_ceph_spec.rb @@ -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])