While Ohai is a fully standalone program, it is most commonly used in Chef to provide node data in JSON.
Installation
To use Ohai, you must first install it.
Usage in Chef
Node data from ohai is provided to Chef via an object named node.
Standalone Operation
Ohai can also be run outside of Chef, so you can query your system for various data.
