X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/29016dedd6532f9f43550e75d114f628138c076a..aefd458b21fb4e22ff587b7073b8c157845d09c0:/cookbooks/hardware/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index 0b25e7bf4..0821ef1e0 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -95,6 +95,16 @@ when "HP", "HPE" action [:enable, :start] supports :status => true, :restart => true end + elsif product.end_with?("Gen10") + package "amsd" do + action :install + notifies :restart, "service[amsd]" + end + + service "amsd" do + action [:enable, :start] + supports :status => true, :restart => true + end end units << if product.end_with?("Gen10")