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