Sha256: 43e1de4ff1379bc0dd4f37ee17cde4ceac4f44dc94ce4a4198b33bc31c3d6e92
Contents?: true
Size: 461 Bytes
Versions: 6
Compression:
Stored size: 461 Bytes
Contents
# frozen_string_literal: true module Facts module Windows class Network6Interfaces FACT_NAME = 'network6_.*' def call_the_resolver arr = [] interfaces = Facter::Resolvers::Networking.resolve(:interfaces) interfaces&.each do |interface_name, info| arr << Facter::ResolvedFact.new("network6_#{interface_name}", info[:network6], :legacy) if info[:network6] end arr end end end end
Version data entries
6 entries across 6 versions & 1 rubygems