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



265
266
267
# File 'lib/inspec/resources/host.rb', line 265

def resolve(hostname)
  resolve_with_dig(hostname)
end

#timeoutObject



261
262
263
# File 'lib/inspec/resources/host.rb', line 261

def timeout
  "gtimeout"
end