]> git.openstreetmap.org Git - chef.git/commitdiff
Add stretch/current-gen9 repo for HP tools on Gen9 machines
authorTom Hughes <tom@compton.nu>
Thu, 29 Aug 2024 12:03:26 +0000 (13:03 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 29 Aug 2024 12:03:26 +0000 (13:03 +0100)
cookbooks/apt/recipes/management-component-pack.rb

index 700ac02bd23b9f8c20b2c1ea1456432c5643872b..92d81f989cdfd6275db953666a3bf84b40762c33 100644 (file)
@@ -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