From: Tom Hughes Date: Fri, 6 May 2016 20:07:41 +0000 (+0100) Subject: Drop hp-legacy hack X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/5a753e9b0b3f168314666812681dee6056aa3996 Drop hp-legacy hack --- 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