diff --git a/habitat/plan.sh b/habitat/plan.sh index 7cb886be0b..02502633c1 100644 --- a/habitat/plan.sh +++ b/habitat/plan.sh @@ -14,7 +14,6 @@ pkg_deps=( core/libxslt core/ruby core/net-tools - core/hab ) pkg_build_deps=( core/bundler diff --git a/lib/bundles/inspec-habitat/profile.rb b/lib/bundles/inspec-habitat/profile.rb index c2355c0deb..73bbce5c74 100644 --- a/lib/bundles/inspec-habitat/profile.rb +++ b/lib/bundles/inspec-habitat/profile.rb @@ -346,7 +346,7 @@ def run_hook_contents while true; do echo "Executing InSpec for ${PROFILE_IDENT}" - hab pkg exec chef/inspec inspec exec {{pkg.path}}/dist --format=json > ${RESULTS_FILE} 2>${ERROR_FILE} + inspec exec {{pkg.path}}/dist --format=json > ${RESULTS_FILE} 2>${ERROR_FILE} if [ $? -eq 0 ]; then echo "InSpec run completed successfully."