From: Grant Slater Date: Tue, 4 Sep 2018 17:00:07 +0000 (+0100) Subject: hardware: Install hp-ams on Gen8 servers X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/960840f010c3205e890cdbda927801bb313a4764?ds=sidebyside hardware: Install hp-ams on Gen8 servers --- 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"