]> git.openstreetmap.org Git - chef.git/commitdiff
Install open-vm-tools on VMware guests
authorGrant Slater <git@firefishy.com>
Sun, 1 Dec 2019 15:51:38 +0000 (15:51 +0000)
committerGrant Slater <git@firefishy.com>
Sun, 1 Dec 2019 15:51:38 +0000 (15:51 +0000)
cookbooks/hardware/recipes/default.rb

index 110273d82cfc68bfffc82dbbff6281920776ff74..793bda175d168003a6fe6e8f6be0fb69c77cde7e 100644 (file)
@@ -91,6 +91,13 @@ when "Supermicro"
   end
 when "IBM"
   units << "0"
+when "VMware, Inc."
+  package "open-vm-tools"
+
+  service "open-vm-tools" do
+    action [:enable, :start]
+    supports :status => true, :restart => true
+  end
 end
 
 units.sort.uniq.each do |unit|