inspec/lib/vulcano/backend/specinfra_docker.rb
Dominik Richter 15d5cc7ca0 split up specinfra backend helper
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-29 15:27:58 +02:00

11 lines
258 B
Ruby

# 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