X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/535456508231fd5fd5e4c3d6671cb7a018b39771..960840f010c3205e890cdbda927801bb313a4764:/cookbooks/hardware/recipes/default.rb 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"