mirror of
https://github.com/inspec/inspec
synced 2024-12-20 01:54:08 +00:00
14 lines
282 B
Ruby
14 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)
|