mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
Documented lib/inspec/resources.rb current usage.
Signed-off-by: Ryan Davis <zenspider@chef.io>
This commit is contained in:
parent
3b69967cc8
commit
4590fee51d
1 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,12 @@
|
|||
##
|
||||
# Now that resources are lazily loaded, this file is ONLY here for one
|
||||
# reason at this point, to load all the resources in order to populate
|
||||
# the registry for `inspec shell`'s `help commands`. There has to be a
|
||||
# cheaper way to do this, but this will do for now.
|
||||
#
|
||||
# NOTE: I intentionally didn't convert this to a loop over a simple
|
||||
# glob so this remains a sort of manifest for our resources.
|
||||
|
||||
require "inspec/resource"
|
||||
|
||||
# Detect if we are running the stripped-down inspec-core
|
||||
|
|
Loading…
Reference in a new issue