Sha256: 21e5c76984e94b52edd258e74e7831ad9decf078344e5e27f7fa811034acb544
Contents?: true
Size: 328 Bytes
Versions: 99
Compression:
Stored size: 328 Bytes
Contents
# Fact: vlans # # Purpose: On Linux, return a list of all the VLANs on the system. # # Resolution: On Linux only, checks for and reads `/proc/net/vlan/config` and # parses it. # # Caveats: # require 'facter/util/vlans' Facter.add("vlans") do confine :kernel => :linux setcode do Facter::Util::Vlans.get_vlans end end
Version data entries
99 entries across 99 versions & 2 rubygems