From ea48ac6d563c698f43fd018f40ca84f7ec28f110 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 26 Sep 2022 00:13:15 +0100 Subject: [PATCH] Add support for HP Gen10 machines --- cookbooks/hardware/recipes/default.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index b6ac62291..5609bd34b 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -55,7 +55,7 @@ if node[:roles].include?("bytemark") || node[:roles].include?("exonetric") || no end case manufacturer -when "HP" +when "HP", "HPE" include_recipe "apt::management-component-pack" package "hponcfg" @@ -85,7 +85,7 @@ when "HP" only_if { node[:lsb][:release].to_f < 22.04 } end - if product.end_with?("Gen8", "Gen9") + if product.end_with?("Gen8", "Gen9", "Gen10") package "hp-ams" do action :install notifies :restart, "service[hp-ams]" -- 2.39.5