From c1f9386a8e8db48dc8db03cdd42e13b789fafe83 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Thu, 20 Oct 2016 01:23:40 +0100 Subject: [PATCH] Downgrade hp-health package due to startup issues in latest release --- cookbooks/hardware/recipes/default.rb | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index 1308f44fc..0e3351838 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -59,7 +59,19 @@ 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." + notifies :restart, "service[hp-health]" + end + + service "hp-health" do + action [:enable, :start] + supports :status => true, :restart => true, :reload => true + end + units << "1" when "TYAN" units << "0" -- 2.39.5