If you want to add custom/unofficial Ohai plugins to a Chef client:
1. Edit /etc/chef/client.rb
2. Add the following line to the end of the file:
You can choose any path you want.
3. Add your custom plugins there (i.e. /etc/ohai/plugins)
4. Reload the client:
| Handy Hint As an example, you can find a custom plugin that extends virtualization attribute adding a guest_lists sub-attribute here: http://github.com/rubiojr/ohai-plugins/blob/master/virtualization_extensions.rb |
