From 5a753e9b0b3f168314666812681dee6056aa3996 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 6 May 2016 21:07:41 +0100 Subject: [PATCH] Drop hp-legacy hack --- cookbooks/hardware/recipes/default.rb | 28 --------------------------- 1 file changed, 28 deletions(-) diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index 8342a9ac3..517794141 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -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 -- 2.43.2