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.12.0 lib/serverspec/type/host.rb
serverspec-0.11.5 lib/serverspec/type/host.rb
serverspec-0.11.4 lib/serverspec/type/host.rb
serverspec-0.11.3 lib/serverspec/type/host.rb
serverspec-0.11.2 lib/serverspec/type/host.rb
serverspec-0.11.1 lib/serverspec/type/host.rb
serverspec-0.11.0 lib/serverspec/type/host.rb
serverspec-0.10.13 lib/serverspec/type/host.rb
serverspec-0.10.12 lib/serverspec/type/host.rb
serverspec-0.10.11 lib/serverspec/type/host.rb
serverspec-0.10.10 lib/serverspec/type/host.rb
serverspec-0.10.9 lib/serverspec/type/host.rb
serverspec-0.10.8 lib/serverspec/type/host.rb
serverspec-0.10.7 lib/serverspec/type/host.rb
serverspec-0.10.6 lib/serverspec/type/host.rb
serverspec-0.10.5 lib/serverspec/type/host.rb
serverspec-0.10.4 lib/serverspec/type/host.rb
serverspec-0.10.3 lib/serverspec/type/host.rb
serverspec-0.10.2 lib/serverspec/type/host.rb
serverspec-0.10.1 lib/serverspec/type/host.rb