Change libvirt group name

Ubuntu has decided to change the group name from libvirtd to libvirt after
Xenial. This change is also in the libvirt packages from the Ocata UCA, so
we need to follow them here.

Change-Id: Ib87e9b5142b835c4be5e07b9d53e39b48b6f605e
This commit is contained in:
Jens Rosenboom 2017-03-09 12:05:09 +00:00
parent dc339a859d
commit 40b6a06273
3 changed files with 5 additions and 5 deletions

View File

@ -61,7 +61,7 @@ default['openstack']['compute']['libvirt']['max_workers'] = 20
default['openstack']['compute']['libvirt']['max_requests'] = 20 default['openstack']['compute']['libvirt']['max_requests'] = 20
# libvirt.max_client_requests (default: 5) # libvirt.max_client_requests (default: 5)
default['openstack']['compute']['libvirt']['max_client_requests'] = 5 default['openstack']['compute']['libvirt']['max_client_requests'] = 5
default['openstack']['compute']['libvirt']['group'] = 'libvirtd' default['openstack']['compute']['libvirt']['group'] = 'libvirt'
default['openstack']['compute']['libvirt']['unix_sock_rw_perms'] = '0770' default['openstack']['compute']['libvirt']['unix_sock_rw_perms'] = '0770'
default['openstack']['compute']['libvirt']['libvirt_inject_key'] = true default['openstack']['compute']['libvirt']['libvirt_inject_key'] = true
# rbd # rbd

View File

@ -16,8 +16,8 @@ describe 'openstack-compute::libvirt' do
end end
end end
it 'creates libvirtd group and adds nova as a member' do it 'creates libvirt group and adds nova as a member' do
expect(chef_run).to create_group('libvirtd').with(members: ['nova']) expect(chef_run).to create_group('libvirt').with(members: ['nova'])
end end
it 'symlinks qemu-kvm' do it 'symlinks qemu-kvm' do

View File

@ -16,8 +16,8 @@ describe 'openstack-compute::libvirt' do
end end
end end
it 'does not create libvirtd group and add to nova' do it 'does not create libvirt group and add to nova' do
expect(chef_run).not_to create_group 'libvirtd' expect(chef_run).not_to create_group 'libvirt'
end end
it 'does not symlink qemu-kvm' do it 'does not symlink qemu-kvm' do