]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/recipes/default.rb
Add ohai plugin to gather additional hardward information
[chef.git] / cookbooks / hardware / recipes / default.rb
index 1418e74181551552ce094b60f84e703027c03236..5183978ff91bb52e97fe9bf343609544f36f67ac 100644 (file)
 include_recipe "tools"
 include_recipe "munin"
 
+ohai_plugin "hardware" do
+  template "ohai.rb.erb"
+end
+
 case node[:cpu][:"0"][:vendor_id]
 when "GenuineIntel"
   package "intel-microcode"