inspec/lib/bundles/inspec-habitat.rb
Adam Leff 0342cca62e Adding a Habitat profile artifact creator
Two new commands have been created:

 * inspec habitat profile create /path/to/profile
 * inspec habitat profile upload /path/to/profile

The `create` command creates a Habitat artifact that contains the contents
of the Habitat profile found at the provided path. This will be used later
in some Habitat + InSpec integrations.

The `upload` command does the same create process but then uploads the
resulting artifact to the Habitat Depot.

Signed-off-by: Adam Leff <adam@leff.co>
2017-02-23 18:25:22 -05:00

12 lines
271 B
Ruby

# encoding: utf-8
# author: Adam Leff
libdir = File.dirname(__FILE__)
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
module Habitat
autoload :Log, 'inspec-habitat/log'
autoload :Profile, 'inspec-habitat/profile'
end
require 'inspec-habitat/cli'