Sha256: 49b6ab6c9c2841769f22a1d519dc7c7e6a955f3d45af08da46ecbc94809feef1
Contents?: true
Size: 481 Bytes
Versions: 50
Compression:
Stored size: 481 Bytes
Contents
# frozen_string_literal: true module Facts module Macosx 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
50 entries across 50 versions & 1 rubygems