Sha256: 480403ca030d3e2545c38ea14f6a52d7011b4331790f16881ba406916e275c6e

Contents?: true

Size: 271 Bytes

Versions: 101

Compression:

Stored size: 271 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
    end
  end
end

Version data entries

101 entries across 101 versions & 1 rubygems

Version Path
serverspec-0.16.0 lib/serverspec/type/host.rb
serverspec-0.15.5 lib/serverspec/type/host.rb
serverspec-0.15.4 lib/serverspec/type/host.rb
serverspec-0.15.3 lib/serverspec/type/host.rb
serverspec-0.15.2 lib/serverspec/type/host.rb
serverspec-0.15.1 lib/serverspec/type/host.rb
serverspec-0.15.0 lib/serverspec/type/host.rb
serverspec-0.14.4 lib/serverspec/type/host.rb
serverspec-0.14.3 lib/serverspec/type/host.rb
serverspec-0.14.2 lib/serverspec/type/host.rb
serverspec-0.14.1 lib/serverspec/type/host.rb
serverspec-0.14.0 lib/serverspec/type/host.rb
serverspec-0.13.7 lib/serverspec/type/host.rb
serverspec-0.13.6 lib/serverspec/type/host.rb
serverspec-0.13.5 lib/serverspec/type/host.rb
serverspec-0.13.4 lib/serverspec/type/host.rb
serverspec-0.13.3 lib/serverspec/type/host.rb
serverspec-0.13.2 lib/serverspec/type/host.rb
serverspec-0.13.1 lib/serverspec/type/host.rb
serverspec-0.13.0 lib/serverspec/type/host.rb