inspec / kitchen-inspec

Test-Kitchen Plugin for InSpec
Other
109 stars 58 forks source link

Load plugins earlier; load plugins by default #261

Closed clintoncwolfe closed 3 years ago

clintoncwolfe commented 3 years ago

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 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.

Updated the README accordingly.

Issues Resolved

Fixes https://github.com/inspec/inspec/issues/5102

Check List