Class: Inspec::Resources::DarwinHostProvider

Inherits:
UnixHostProvider show all
Defined in:
lib/inspec/resources/host.rb

Instance Attribute Summary

Attributes inherited from HostProvider

#inspec

Instance Method Summary collapse

Methods inherited from UnixHostProvider

#initialize, #missing_requirements, #netcat_check_command, #ping, #resolve_with_dig, #resolve_with_getent

Methods inherited from HostProvider

#initialize, #missing_requirements

Constructor Details

This class inherits a constructor from Inspec::Resources::UnixHostProvider

Instance Method Details

#resolve(hostname) ⇒ Object



279
280
281
# File 'lib/inspec/resources/host.rb', line 279

def resolve(hostname)
  resolve_with_dig(hostname)
end

#timeoutObject



275
276
277
# File 'lib/inspec/resources/host.rb', line 275

def timeout
  "gtimeout"
end