File: remove-validate-legacy-check.patch

package info (click to toggle)
puppet-module-nova 21.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,444 kB
  • sloc: ruby: 10,903; python: 38; makefile: 10; sh: 10
file content (18 lines) | stat: -rw-r--r-- 753 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Remove validate-legacy check
 This is not compatible with Puppet 5.
Author: Thomas Goirand <zigo@debian.org>
Forwarded: not-needed
Last-Update: 2021-06-30

Index: puppet-module-nova/manifests/compute/libvirt.pp
===================================================================
--- puppet-module-nova.orig/manifests/compute/libvirt.pp
+++ puppet-module-nova/manifests/compute/libvirt.pp
@@ -398,7 +398,6 @@ class nova::compute::libvirt (
     'libvirt/wait_soft_reboot_seconds':    value => $wait_soft_reboot_seconds;
   }
 
-  validate_legacy(Array, 'validate_array', $cpu_models)
   # cpu_model param is only valid if cpu_mode=custom
   # otherwise it should be commented out
   if $cpu_mode_default == 'custom' and !empty($cpu_models){