]> git.openstreetmap.org Git - chef.git/commitdiff
Drop hp-legacy hack
authorTom Hughes <tom@compton.nu>
Fri, 6 May 2016 20:07:41 +0000 (21:07 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 6 May 2016 20:07:41 +0000 (21:07 +0100)
cookbooks/hardware/recipes/default.rb

index 8342a9ac3f78921c59055d5ddd53e2f4a62425c7..5177941418a43fc45f3917ce63bf5e166cd12435 100644 (file)
@@ -76,34 +76,6 @@ when "IBM"
   speed = "115200"
 end
 
-if manufacturer == "HP" && node[:lsb][:release].to_f > 11.10
-  include_recipe "git"
-
-  git "/opt/hp/hp-legacy" do
-    action :sync
-    repository "git://chef.openstreetmap.org/hp-legacy.git"
-    user "root"
-    group "root"
-    ignore_failure true
-  end
-
-  link "/opt/hp/hp-health/bin/hpasmd" do
-    to "/opt/hp/hp-legacy/hpasmd"
-  end
-
-  link "/usr/lib/libhpasmintrfc.so.3.0" do
-    to "/opt/hp/hp-legacy/libhpasmintrfc.so.3.0"
-  end
-
-  link "/usr/lib/libhpasmintrfc.so.3" do
-    to "libhpasmintrfc.so.3.0"
-  end
-
-  link "/usr/lib/libhpasmintrfc.so" do
-    to "libhpasmintrfc.so.3.0"
-  end
-end
-
 unless unit.nil?
   file "/etc/init/ttySttyS#{unit}.conf" do
     action :delete