- From: <
>
- To:
- Subject: [chef] Ohai "require_plugin" not working from ohai command line
- Date: Mon, 9 Sep 2013 09:17:52 -0700 (PDT)
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 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
either.
What am I doing wrong?
- [chef] Ohai "require_plugin" not working from ohai command line, markmaxey, 09/09/2013
Archive powered by MHonArc 2.6.16.