X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/01efcdfb1287aa647751c28e33101323c065ae3d..0a24539ef82e55b09c6801a1c80e9f4c952f6a2f:/cookbooks/hardware/recipes/default.rb diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index 1308f44fc..7d326d68b 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -59,7 +59,20 @@ end case manufacturer when "HP" package "hponcfg" - package "hp-health" + + # Downgrade hp-health to 10.0.0.1.3-4. as 10.40-1815.49 has issues with reliable startup + package "hp-health" do + action :install + version "10.0.0.1.3-4." + options "--force-yes" + notifies :restart, "service[hp-health]" + end + + service "hp-health" do + action [:enable, :start] + supports :status => true, :restart => true + end + units << "1" when "TYAN" units << "0"