From e9413cd75e1d60c95af2250b0b83988aeb19c6fa Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 15 Jul 2014 00:34:41 +0100 Subject: [PATCH] ProLiantSupportPack does not exist anymore --- cookbooks/apt/recipes/default.rb | 6 ------ cookbooks/hardware/attributes/default.rb | 6 +----- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/cookbooks/apt/recipes/default.rb b/cookbooks/apt/recipes/default.rb index 1b48ddfda..c4cd3acc3 100644 --- a/cookbooks/apt/recipes/default.rb +++ b/cookbooks/apt/recipes/default.rb @@ -79,12 +79,6 @@ if node[:lsb][:release].to_f < 14.04 end end -apt_source "proliant-support-pack" do - template "hp.list.erb" - url "http://downloads.linux.hp.com/SDR/downloads/ProLiantSupportPack" - key "2689B887" -end - apt_source "management-component-pack" do template "hp.list.erb" url "http://downloads.linux.hp.com/SDR/downloads/ManagementComponentPack" diff --git a/cookbooks/hardware/attributes/default.rb b/cookbooks/hardware/attributes/default.rb index 904b51e36..39b272b05 100644 --- a/cookbooks/hardware/attributes/default.rb +++ b/cookbooks/hardware/attributes/default.rb @@ -1,11 +1,7 @@ if node[:dmi] and node[:dmi][:system] case dmi.system.manufacturer when "HP" - if node[:lsb][:release].to_f <= 11.10 - default[:apt][:sources] |= [ "proliant-support-pack" ] - else - default[:apt][:sources] |= [ "management-component-pack" ] - end + default[:apt][:sources] |= [ "management-component-pack" ] end end -- 2.39.5