]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apt/recipes/management-component-pack.rb
community: Disable maxmind download for now
[chef.git] / 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