]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/recipes/default.rb
Use amsd instead of hp-ams on Gen10 machines
[chef.git] / cookbooks / hardware / recipes / default.rb
index 0b25e7bf49b0713ba5fa91fbec35d7c82ad45ebc..0821ef1e00ecc7becc49d58325251bb793961e50 100644 (file)
@@ -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")