cephkeyring POSIX group: use usermod

Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
Emilien Macchi
2014-04-13 17:11:09 +02:00
parent 861acfc4cd
commit 5f6b843c39
4 changed files with 12 additions and 4 deletions

View File

@@ -107,6 +107,7 @@ describe 'cloud::volume::storage' do
:os_auth_url => 'http://keystone.host:5000/v2.0'
)
should contain_group('cephkeyring').with(:ensure => 'present')
should contain_exec('add-cinder-to-group').with(:command => 'usermod -a -G cephkeyring cinder')
end
end