Sha256: 82a6994738ac5ed6898a0b1807b7cfb157a1bf15b799c3f68e887cb764ed2f73
Contents?: true
Size: 326 Bytes
Versions: 74
Compression:
Stored size: 326 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
74 entries across 74 versions & 3 rubygems