Sha256: b1328e03f58f4527026cc1698c481575902645dadc578f646851ba2b8953a701
Contents?: true
Size: 550 Bytes
Versions: 8
Compression:
Stored size: 550 Bytes
Contents
module Kitchen module Provisioner # Locates active IPs that are not localhost # there are separate implementations for # different kitchen transports module IpFinder def self.for_transport(transport, state) transport_string = transport.class.name.split('::').last require("kitchen/provisioner/ip_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
8 entries across 8 versions & 2 rubygems