Say I have an Ohai plugin called lolcode.rb that has something like this:
which delegates to another plugin by the same name located in the "linux"
When I run chef-client using the ohai cookbook, I can see the node in Chef
Server being updated with the appropriate information from both plugins.
However, if I run
ohai -f lolcode.rb
The “require_plugin” seems to be completely ignored. The "linux/lolcode.rb"
plugin isn’t called. I can change the name of the directory and/or plugin to
be something completely invalid and while it doesn’t fail, it doesn’t work
What am I doing wrong?