]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/recipes/default.rb
hardware: Install hp-ams on Gen8 servers
[chef.git] / cookbooks / hardware / recipes / default.rb
index 1a9549d7cd663bcaacbe4f09a74169038df5ca83..936ffb01b4d3d360071f562c5b5a8e3ca3a9e4b8 100644 (file)
@@ -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"