inspec/lib/vulcano/backend/docker.rb
Dominik Richter 22ce1d4b0d add docker backend support
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-08-24 10:35:03 -07:00

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)