]> git.openstreetmap.org Git - chef.git/commitdiff
Downgrade hp-health package due to startup issues in latest release
authorGrant Slater <git@firefishy.com>
Thu, 20 Oct 2016 00:23:40 +0000 (01:23 +0100)
committerGrant Slater <git@firefishy.com>
Thu, 20 Oct 2016 00:23:40 +0000 (01:23 +0100)
cookbooks/hardware/recipes/default.rb

index 1308f44fcfac3a5fa2bd68021af0f6c6edbbd707..0e335183896291649275f7ecd9a5f4dc033c82ec 100644 (file)
@@ -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"