]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/recipes/default.rb
Use declare_resource to avoid need for template_source wart
[chef.git] / cookbooks / hardware / recipes / default.rb
index a18a293a04a01b461c5100fb6a0fab9a531632e6..154a793a5614dcf9f91ff3185f33c85361e216fa 100644 (file)
@@ -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]