inspec/lib/vulcano/backend/specinfra_docker.rb

12 lines
258 B
Ruby
Raw Normal View History

# encoding: utf-8
class Vulcano::Backends::SpecinfraHelper
module Docker
def self.configure(_conf)
host = @conf['host'].to_s
Specinfra.configuration.backend = :docker
Specinfra.configuration.docker_container = host
end
end
end