Sha256: 8c1a085da0edaf59429f0c9f6cd58d2b39b0af00368faaea58cdc95782522c54

Contents?: true

Size: 355 Bytes

Versions: 7

Compression:

Stored size: 355 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Windows
    class Interfaces
      FACT_NAME = 'interfaces'
      TYPE = :legacy

      def call_the_resolver
        fact_value = Facter::Resolvers::Windows::Networking.resolve(:interfaces)

        Facter::ResolvedFact.new(FACT_NAME, fact_value&.keys&.join(','), :legacy)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
facter-4.10.0 lib/facter/facts/windows/interfaces.rb
facter-4.9.0 lib/facter/facts/windows/interfaces.rb
facter-4.8.0 lib/facter/facts/windows/interfaces.rb
facter-4.7.1 lib/facter/facts/windows/interfaces.rb
facter-4.7.0 lib/facter/facts/windows/interfaces.rb
facter-4.6.1 lib/facter/facts/windows/interfaces.rb
facter-4.6.0 lib/facter/facts/windows/interfaces.rb