Browse Source

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
changes/94/443694/1
Jens Rosenboom 2 years ago
parent
commit
40b6a06273
3 changed files with 5 additions and 5 deletions
  1. 1
    1
      attributes/default.rb
  2. 2
    2
      spec/libvirt-redhat_spec.rb
  3. 2
    2
      spec/libvirt_spec.rb

+ 1
- 1
attributes/default.rb View File

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

+ 2
- 2
spec/libvirt-redhat_spec.rb View File

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

+ 2
- 2
spec/libvirt_spec.rb View File

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

Loading…
Cancel
Save