From 960840f010c3205e890cdbda927801bb313a4764 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Tue, 4 Sep 2018 18:00:07 +0100 Subject: [PATCH] hardware: Install hp-ams on Gen8 servers --- cookbooks/hardware/recipes/default.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index 1a9549d7c..936ffb01b 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -65,6 +65,18 @@ when "HP" supports :status => true, :restart => true end + if product.end_with?("Gen8") + package "hp-ams" do + action :install + notifies :restart, "service[hp-ams]" + end + + service "hp-ams" do + action [:enable, :start] + supports :status => true, :restart => true + end + end + units << "1" when "TYAN" units << "0" -- 2.43.2