Sha256: 1e7e0f069370035133133db6dfe0ab360766668fe3f348299bc95918ef92e396
Contents?: true
Size: 482 Bytes
Versions: 50
Compression:
Stored size: 482 Bytes
Contents
# frozen_string_literal: true module Facts module Freebsd 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