X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/aaf1ea5c8f1f14b6b81bea7aad51743c767d310c..564078a3982b842263892d7fe758f4adbcb5117f:/cookbooks/hardware/recipes/default.rb diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index 91b7510b9..060229deb 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -17,8 +17,11 @@ # 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 @@ -257,8 +260,10 @@ if tools_packages.include?("areca") git "/opt/areca" do action :sync repository "https://git.openstreetmap.org/private/areca.git" + depth 1 user "root" group "root" + not_if { ENV["TEST_KITCHEN"] } end else directory "/opt/areca" do