X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1cd8cc40ed031f2e5cb44460d040d0211b9f9d7a..204605749875101d3316aa94917d0a4b6c055fb3:/cookbooks/hardware/recipes/default.rb diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index a18a293a0..d26667436 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -21,7 +21,7 @@ include_recipe "tools" include_recipe "munin" ohai_plugin "hardware" do - template_source "ohai.rb.erb" + template "ohai.rb.erb" end case node[:cpu][:"0"][:vendor_id] @@ -86,6 +86,7 @@ if manufacturer == "HP" %w[/opt/hp/hp-health/bin/hpasmd /usr/lib/libhpasmintrfc.so.3.0 %/usr/lib/libhpasmintrfc.so.3 /usr/lib/libhpasmintrfc.so].each do |filename| file filename do action :delete + manage_symlink_source false end end