This change tells the Chef InSpec plugin system to scan for installed plugins before creating the InSpec Runner. This is important, because the Runner validates which Reports are valid based on the known plugins at the time.
In addition, this change changes the default value for the load_plugins config option to be true. Users are routinely bitten by this option, and as we move more functionality into plugins, the default should clearly be to load plugins by default, unless told not to for performance reasons, in which case we assume the user knows what they are doing.
Description
This change tells the Chef InSpec plugin system to scan for installed plugins before creating the InSpec Runner. This is important, because the Runner validates which Reports are valid based on the known plugins at the time.
In addition, this change changes the default value for the
load_plugins
config option to betrue
. Users are routinely bitten by this option, and as we move more functionality into plugins, the default should clearly be to load plugins by default, unless told not to for performance reasons, in which case we assume the user knows what they are doing.Updated the README accordingly.
Issues Resolved
Fixes https://github.com/inspec/inspec/issues/5102
Check List