mirror of
https://github.com/inspec/inspec
synced 2024-12-19 17:43:44 +00:00
22ce1d4b0d
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
13 lines
282 B
Ruby
13 lines
282 B
Ruby
# encoding: utf-8
|
|
|
|
module Vulcano::Backend::Docker
|
|
|
|
def self.configure(conf)
|
|
host = conf['host'].to_s
|
|
Specinfra.configuration.backend = :docker
|
|
Specinfra.configuration.docker_container = host
|
|
end
|
|
|
|
end
|
|
|
|
Vulcano::Backend.add_module('docker', Vulcano::Backend::Docker)
|