Sha256: de3b16f54f090edd26ef20d7a66f947c52624aacb1787c425ceab7898285d175

Contents?: true

Size: 438 Bytes

Versions: 6

Compression:

Stored size: 438 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Macosx
    module Networking
      class Network
        FACT_NAME = 'networking.network'
        ALIASES = 'network'

        def call_the_resolver
          fact_value = Facter::Resolvers::Macosx::Networking.resolve(:network)

          [Facter::ResolvedFact.new(FACT_NAME, fact_value), Facter::ResolvedFact.new(ALIASES, fact_value, :legacy)]
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
facter-4.0.34 lib/facter/facts/macosx/networking/network.rb
facter-4.0.33 lib/facter/facts/macosx/networking/network.rb
facter-4.0.32 lib/facter/facts/macosx/networking/network.rb
facter-4.0.31 lib/facter/facts/macosx/networking/network.rb
facter-4.0.30 lib/facter/facts/macosx/networking/network.rb
facter-4.0.29 lib/facts/macosx/networking/network.rb