Hi!
I'm try to find the way for disable reload of custom ohai plugin. Ie, some plugins should be executed on chef-client start but should not reloaded from ohai resource in cookbook. Is it possible?
Hi!
I'm try to find the way for disable reload of custom ohai plugin. Ie, some plugins should be executed on chef-client start but should not reloaded from ohai resource in cookbook. Is it possible?
Seems i'm found solutions:
by adding "disabled_plugins" "on fly":
Ohai.config[:disabled_plugins] = [ :Mycoolplugin, :Mycoolplugin2 ]
into recipe of first cookbook.
or using undocumented ohai plugin option "optional"