next previous | Resources • Knife • Recipe DSL • Learn Chef • Search the Docs • Home » Table Of Contents About Ohai Automatic Attributes Attribute Persistence Attribute Precedence Custom Plugins Syntax Ohai DSL Methods collect_data Use a Mash Examples require /common Directory Shared Methods Log Entries rescue Examples collect_data Blocks Use a mixin Library Get Kernel Values Ohai 6 vs. Ohai 7 Plugins ohai Resource Syntax Actions Attributes Providers Examples ohai Cookbook Default Location Upload Custom Plugins Add Ohai to a Run-list ohai Command Line Tool Options Examples Ohai Settings in client.rb ¶ Ohai is a tool that is used to detect attributes on a node, and then provide these attributes to the chef-client at the start of every chef-client run. Ohai is required by the chef-client and must be present on a node. (Ohai is installed on a node as part ...