Sha256: 2b30a7bd4a0f53c8c6651cafe4a8f61fb12b42620458974a48f90c05a4bb5f2a
Contents?: true
Size: 482 Bytes
Versions: 19
Compression:
Stored size: 482 Bytes
Contents
# frozen_string_literal: true module Facts module Windows class Network6Interfaces FACT_NAME = 'network6_.*' TYPE = :legacy 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
19 entries across 19 versions & 1 rubygems