Sha256: b4cfe3680f9e06d45c556d50fb295afcef44a16e571f4b5410fe33c9b9e8e5b2
Contents?: true
Size: 405 Bytes
Versions: 24
Compression:
Stored size: 405 Bytes
Contents
# frozen_string_literal: true module Facts module Linux class Interfaces FACT_NAME = 'interfaces' def call_the_resolver fact_value = Facter::Resolvers::NetworkingLinux.resolve(:interfaces) Facter::ResolvedFact.new(FACT_NAME, fact_value && !fact_value.empty? ? fact_value.keys.sort.join(',') : nil, :legacy) end end end end
Version data entries
24 entries across 24 versions & 1 rubygems
Version | Path |
---|---|
facter-4.0.24 | lib/facts/linux/interfaces.rb |
facter-4.0.23 | lib/facts/linux/interfaces.rb |
facter-4.0.22 | lib/facts/linux/interfaces.rb |
facter-4.0.21 | lib/facts/linux/interfaces.rb |