Sha256: be1e05cde276925b3f116a2769f27f313704004389a593139fd52dd069ea6d50
Contents?: true
Size: 337 Bytes
Versions: 37
Compression:
Stored size: 337 Bytes
Contents
module Serverspec::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
Version data entries
37 entries across 37 versions & 2 rubygems