Merge pull request #3834 from skylerto/master

inspec compliance: Fix mocked configuration
This commit is contained in:
Clinton Wolfe 2019-02-26 14:35:53 -05:00 committed by GitHub
commit 3024c60c64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -141,7 +141,7 @@ module InspecPlugins
configure_logger(o) configure_logger(o)
# only run against the mock backend, otherwise we run against the local system # only run against the mock backend, otherwise we run against the local system
o[:backend] = Inspec::Backend.create(target: 'mock://') o[:backend] = Inspec::Backend.create(Inspec::Config.mock)
o[:check_mode] = true o[:check_mode] = true
o[:vendor_cache] = Inspec::Cache.new(o[:vendor_cache]) o[:vendor_cache] = Inspec::Cache.new(o[:vendor_cache])