inspec/lib/vulcano/backend/specinfra_docker.rb
Christoph Hartmann 8fff2ee989 add author header
2015-10-06 18:55:44 +02:00

13 lines
313 B
Ruby

# encoding: utf-8
# author: Dominik Richter
# author: Christoph Hartmann
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