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"
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