inspec/lib/bundles/inspec-habitat
Adam Leff 9550137605 Write Habitat-driven InSpec output to svc_var directory
When running a InSpec profile built with Habitat, we now
write the formatter/reporter data to a JSON file in the
pkg.svc_var_path rather than STDOUT. This will allow for
programmatic collection of this data and future enhancements
to allow this data to be passed around a Habitat ring.

This also corrects an issue creating a Habitat profile if the
profile had never been in the local InSpec cache. By setting a
mock Backend when creating the profile object, similarly to what
the archivers do, this issue is avoided.

Signed-off-by: Adam Leff <adam@leff.co>
2017-03-02 17:45:16 -05:00
..
cli.rb Adding a Habitat profile artifact creator 2017-02-23 18:25:22 -05:00
log.rb Adding a Habitat profile artifact creator 2017-02-23 18:25:22 -05:00
profile.rb Write Habitat-driven InSpec output to svc_var directory 2017-03-02 17:45:16 -05:00