]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/recipes/default.rb
Add test for hardware cookbook
[chef.git] / cookbooks / hardware / recipes / default.rb
index 91b7510b97db6665ef591ca87509c9b732d36e44..fa5f43c648f33f2ec2dd3e7cd554573a619dcc8e 100644 (file)
 # limitations under the License.
 #
 
-include_recipe "tools"
+include_recipe "apt"
+include_recipe "git"
 include_recipe "munin"
+include_recipe "sysfs"
+include_recipe "tools"
 
 ohai_plugin "hardware" do
   template "ohai.rb.erb"
@@ -97,7 +100,7 @@ when "VMware, Inc."
   # Remove timeSync plugin completely
   # https://github.com/vmware/open-vm-tools/issues/302
   file "/usr/lib/open-vm-tools/plugins/vmsvc/libtimeSync.so" do
-    state :absent
+    action :delete
     notifies :restart, "service[open-vm-tools]"
   end
 
@@ -259,6 +262,7 @@ if tools_packages.include?("areca")
     repository "https://git.openstreetmap.org/private/areca.git"
     user "root"
     group "root"
+    not_if { ENV["TEST_KITCHEN"] }
   end
 else
   directory "/opt/areca" do