File: fix-libvirtd-config-for-tls.patch

package info (click to toggle)
puppet-module-nova 27.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,068 kB
  • sloc: ruby: 11,144; python: 33; makefile: 10; sh: 10
file content (24 lines) | stat: -rw-r--r-- 970 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Fix libvirtd config for TLS
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2023-04-12

Index: puppet-module-nova/manifests/migration/libvirt.pp
===================================================================
--- puppet-module-nova.orig/manifests/migration/libvirt.pp
+++ puppet-module-nova/manifests/migration/libvirt.pp
@@ -321,12 +321,8 @@ class nova::migration::libvirt (
       $crl_file_real  = $facts['os_service_default']
     }
 
-    $libvirt_listen_config = $modular_libvirt ? {
-      true    => 'virtproxyd_config',
-      default => 'libvirtd_config'
-    }
-
-    create_resources( $libvirt_listen_config , {
+    # In Debian, we always want 'libvirtd_config'
+    create_resources( 'libvirtd_config' , {
       'auth_tls'  => { 'value' => $auth_tls_real,  'quote' => true },
       'auth_tcp'  => { 'value' => $auth_tcp_real,  'quote' => true },
       'key_file'  => { 'value' => $key_file_real,  'quote' => true },