Sha256: c697444a8768750e3716a3de8756cc427f97bcb135a3687a42f7312093681049
Contents?: true
Size: 373 Bytes
Versions: 11
Compression:
Stored size: 373 Bytes
Contents
module Serverspec module Type class Host < Base def resolvable?(type) @runner.check_host_is_resolvable(@name, type) end def reachable?(port, proto, timeout) @runner.check_host_is_reachable(@name, port, proto, timeout) end def ipaddress @runner.get_host_ipaddress(@name).stdout.strip end end end end
Version data entries
11 entries across 11 versions & 1 rubygems