Sha256: 1b0052f69c1dfdf8c6e6c2c420a6ae99561c62aecf669f32a9c2d7339b6b1ccd

Contents?: true

Size: 327 Bytes

Versions: 2

Compression:

Stored size: 327 Bytes

Contents

# frozen_string_literal: true

module Facter
  module Windows
    class Interfaces
      FACT_NAME = 'interfaces'

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

        ResolvedFact.new(FACT_NAME, fact_value ? fact_value.keys.join(',') : nil, :legacy)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facter-4.0.8.pre lib/facts/windows/interfaces.rb
facter-4.0.7.pre lib/facts/windows/interfaces.rb