From a0762efbf18f4d7f3251b61c5f17b15225446a3d Mon Sep 17 00:00:00 2001 From: rayder Date: Sat, 17 Jan 2026 13:49:31 +0200 Subject: [PATCH] fix domconf merge --- manifests/domain.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/domain.pp b/manifests/domain.pp index 007f074..37c811b 100644 --- a/manifests/domain.pp +++ b/manifests/domain.pp @@ -187,12 +187,12 @@ include libvirt include libvirt::profiles - $devices_real = libvirt::get_merged_profile($libvirt::profiles::devices, $devices_profile) + $devices + $devices_real = deep_merge(libvirt::get_merged_profile($libvirt::profiles::devices, $devices_profile), $devices) if $boot == 'per-device' { - $domconf_real = libvirt::get_merged_profile($libvirt::profiles::domconf, $dom_profile) + $domconf + $domconf_real = deep_merge(libvirt::get_merged_profile($libvirt::profiles::domconf, $dom_profile), $domconf) } else { - $_domconf = libvirt::get_merged_profile($libvirt::profiles::domconf, $dom_profile) + $domconf + $_domconf = deep_merge(libvirt::get_merged_profile($libvirt::profiles::domconf, $dom_profile), $domconf) $domconf_real = deep_merge($_domconf, { 'os' => { 'boot' => { 'attrs' => { 'dev' => $boot } } } }) }