From 9773acd6bc9041bb87287bf409a3b75434c55fae Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 8 Apr 2026 20:51:38 +0100 Subject: [PATCH] Skip hponcfg on trixie --- cookbooks/hardware/recipes/default.rb | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index ace284c24..68acc5157 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -64,20 +64,22 @@ case manufacturer when "HP", "HPE" include_recipe "apt::management-component-pack" - package "hponcfg" + unless node[:lsb][:release] == "trixie" + package "hponcfg" - execute "update-ilo" do - action :nothing - command "/usr/sbin/hponcfg -f /etc/ilo-defaults.xml" - not_if { kitchen? } - end + execute "update-ilo" do + action :nothing + command "/usr/sbin/hponcfg -f /etc/ilo-defaults.xml" + not_if { kitchen? } + end - template "/etc/ilo-defaults.xml" do - source "ilo-defaults.xml.erb" - owner "root" - group "root" - mode "644" - notifies :run, "execute[update-ilo]" + template "/etc/ilo-defaults.xml" do + source "ilo-defaults.xml.erb" + owner "root" + group "root" + mode "644" + notifies :run, "execute[update-ilo]" + end end package "hp-health" do -- 2.39.5