X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/166cf2983434a0a2509387466df3461b18a39625..ea48ac6d563c698f43fd018f40ca84f7ec28f110:/cookbooks/hardware/recipes/default.rb 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]"