On Monday, September 9, 2013 at 9:17 AM, wrote:
Say I have an Ohai plugin called lolcode.rb that has something like this:require_plugin "linux::lolcode"which delegates to another plugin by the same name located in the "linux"subdirectory.When I run chef-client using the ohai cookbook, I can see the node in ChefServer being updated with the appropriate information from both plugins.However, if I runohai -f lolcode.rbThe "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 tobe something completely invalid and while it doesn't fail, it doesn't workeither.What am I doing wrong?
Archive powered by MHonArc 2.6.16.