interfaces.rb

Path: lib/facter/interfaces.rb
Last Update: Sat Feb 23 07:17:42 +0000 2019

Fact: interfaces

Purpose:

  Returns a comma-separated list of the system's network interfaces.

  In addition to the main `interfaces` fact, this code will generate the
  following facts for each interface:

  * `ipaddress_<INTERFACE>`
  * `ipaddress6_<INTERFACE>`
  * `macaddress_<INTERFACE>`
  * `netmask_<INTERFACE>`
  * `mtu_<INTERFACE>`

Resolution:

Caveats:

Required files

facter/util/ip   facter/util/macaddress  

[Validate]