From: Tom Hughes Date: Thu, 29 Aug 2024 12:03:26 +0000 (+0100) Subject: Add stretch/current-gen9 repo for HP tools on Gen9 machines X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/bbefd6b312a4af0dbe76fe2beb0bc32185758c6c Add stretch/current-gen9 repo for HP tools on Gen9 machines --- diff --git a/cookbooks/apt/recipes/management-component-pack.rb b/cookbooks/apt/recipes/management-component-pack.rb index 700ac02bd..92d81f989 100644 --- a/cookbooks/apt/recipes/management-component-pack.rb +++ b/cookbooks/apt/recipes/management-component-pack.rb @@ -30,6 +30,15 @@ if platform?("debian") components ["non-free"] key "C208ADDE26C2B797" end + + if node[:dmi][:system][:product_name].end_with?("Gen9") + apt_repository "mcp-gen9" do + uri "https://downloads.linux.hpe.com/SDR/repo/mcp" + distribution "stretch/current-gen9" + components ["non-free"] + key "C208ADDE26C2B797" + end + end elsif platform?("ubuntu") if node[:dmi][:system][:product_name].end_with?("Gen10") apt_repository "mcp-jammy" do