From 1ff264100d9cc59612be3865a236df29ba1d6278 Mon Sep 17 00:00:00 2001 From: Arnaud Morin Date: Mon, 7 Oct 2019 12:01:22 +0200 Subject: [PATCH] G --- libvirt.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libvirt.pp b/libvirt.pp index e5e22a9..c37b5ea 100644 --- a/libvirt.pp +++ b/libvirt.pp @@ -275,7 +275,7 @@ class nova::compute::libvirt ( # cpu_model param is only valid if cpu_mode=custom # otherwise it should be commented out if $libvirt_cpu_mode_real == 'custom' { - validate_string($libvirt_cpu_model) + validate_legacy(String, 'validate_string', $libvirt_cpu_model) nova_config { 'libvirt/cpu_model': value => $libvirt_cpu_model; } @@ -289,7 +289,7 @@ class nova::compute::libvirt ( } if $libvirt_cpu_mode_real != 'none' { - validate_string($libvirt_cpu_model_extra_flags) + validate_legacy(String, 'validate_string', $libvirt_cpu_model_extra_flags) nova_config { 'libvirt/cpu_model_extra_flags': value => $libvirt_cpu_model_extra_flags; }