Sha256: 4aa7b84815eda2411981970f7d5ce3b6571fee3a8ea02810ab7147edd5403aa5
Contents?: true
Size: 360 Bytes
Versions: 23
Compression:
Stored size: 360 Bytes
Contents
module Serverspec module Type class Host < Base def resolvable?(type) backend.check_resolvable(@name, type) end def reachable?(port, proto, timeout) backend.check_reachable(@name, port, proto, timeout) end def ipaddress backend.get_ipaddress_of_host(@name).stdout.strip end end end end
Version data entries
23 entries across 23 versions & 1 rubygems