Use the Handler DSL to attach a callback to an event. If the event occurs during a Chef Infra Client run, the associated callback is executed. For example:
This page lists plugins for Ohai plugins and Chef Infra Client handlers that are developed and maintained by the Chef community.
You can write custom Ohai plugins to collect additional configuration attributes with Ohai to provide to Chef Infra Client during runs.
Was this page helpful?
Still stuck?
How can we improve this document?
Thank you for your feedback!