volume/rbd-backend: add a unit test

This commit is contained in:
Emilien Macchi
2014-04-26 13:17:43 +02:00
parent 7dd4f5f64e
commit f77d07d568

View File

@@ -111,6 +111,7 @@ describe 'cloud::volume::storage' do
should contain_group('cephkeyring').with(:ensure => 'present')
should contain_exec('add-cinder-to-group').with(
:command => 'usermod -a -G cephkeyring cinder',
:path => ['/usr/bin', '/bin'],
:unless => 'groups cinder | grep cephkeyring'
)
end