Sha256: 64304c1af3a04e15543a4fd2877ac97148cfbacaa43af82ce70124745b4e0ed6
Contents?: true
Size: 545 Bytes
Versions: 5
Compression:
Stored size: 545 Bytes
Contents
module Kitchen module Provisioner # Locates active IPs that are not localhost # there are separate implementations for # different kitchen transports module Finder def self.for_transport(transport, state) transport_string = transport.class.name.split('::').last require("kitchen/provisioner/finder/#{transport_string.downcase}") connection = transport.connection(state) klass = const_get(transport_string) object = klass.new(connection) object end end end end
Version data entries
5 entries across 5 versions & 1 rubygems