Class: Inspec::Resources::LinuxHostProvider

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, #timeout

Methods inherited from HostProvider

#initialize, #missing_requirements

Constructor Details

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

Instance Method Details

#resolve(hostname) ⇒ Object



285
286
287
# File 'lib/inspec/resources/host.rb', line 285

def resolve(hostname)
  resolve_with_getent(hostname)
end