Skip to content

Commit

Permalink
Drop special casing of gen10 HP repo for Debian
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Nov 17, 2023
1 parent 1826b70 commit 209d6ef
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions cookbooks/apt/recipes/management-component-pack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,11 @@
end

if platform?("debian")
if node[:dmi][:system][:product_name].end_with?("Gen10")
apt_repository "mcp-gen10" do
uri "https://downloads.linux.hpe.com/SDR/repo/mcp"
distribution "#{node[:lsb][:codename]}/current-gen10"
components ["non-free"]
key "C208ADDE26C2B797"
end
else
apt_repository "mcp" do
uri "https://downloads.linux.hpe.com/SDR/repo/mcp"
distribution "#{node[:lsb][:codename]}/current"
components ["non-free"]
key "C208ADDE26C2B797"
end
apt_repository "mcp" do
uri "https://downloads.linux.hpe.com/SDR/repo/mcp"
distribution "#{node[:lsb][:codename]}/current"
components ["non-free"]
key "C208ADDE26C2B797"
end
elsif platform?("ubuntu")
if node[:dmi][:system][:product_name].end_with?("Gen10")
Expand Down

0 comments on commit 209d6ef

Please sign in to comment.