ceph keyring: manage group via virtual resource

Manage the group membership with a Puppet Virtual Resource.

Bug #402
This commit is contained in:
Emilien Macchi
2014-04-14 10:27:59 +02:00
parent 5f6b843c39
commit 538491c5d2
4 changed files with 6 additions and 8 deletions

View File

@@ -240,7 +240,6 @@ describe 'cloud::compute::hypervisor' do
should contain_nova_config('DEFAULT/rbd_user').with('value' => 'cinder')
should contain_nova_config('DEFAULT/rbd_secret_uuid').with('value' => 'secrete')
should contain_group('cephkeyring').with(:ensure => 'present')
should contain_exec('add-nova-to-group').with(:command => 'usermod -a -G cephkeyring nova')
end
it 'configure nova-compute with extra parameters' do