mirror of
https://github.com/inspec/inspec
synced 2024-12-18 09:03:12 +00:00
13 lines
313 B
Ruby
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
|