Chef Client, Solo, and Apply all implement a --minimal-ohai
flag. When
set, Chef only runs the bare minimum necessary ohai plugins required for
internal functionality. This reduces the run time of ohai and might
improve Chef performance by reducing the amount of data kept in memory.
Most users should NOT use this mode, however, because cookbooks that
rely on data collected by other ohai plugins will definitely be broken
when Chef is run in this mode. It may be possible for advanced users to
work around that by using the ohai resource to collect the "missing"
data during the compile phase.