diff --git a/habitat/plan.sh b/habitat/plan.sh index 7cb886be0..02502633c 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 c2355c0de..73bbce5c7 100644 --- a/lib/bundles/inspec-habitat/profile.rb +++ b/lib/bundles/inspec-habitat/profile.rb @@ -346,7 +346,7 @@ mkdir -p {{pkg.svc_var_path}}/inspec_results 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."