Sha256: 15f77f9bb16ed9cdca9078a25ba3f7e1aa7b05990975ea13e7522ff30470055c

Contents?: true

Size: 308 Bytes

Versions: 2

Compression:

Stored size: 308 Bytes

Contents

# frozen_string_literal: true

module Facter
  module Sles
    class NetworkingPrimary
      FACT_NAME = 'networking.primary'

      def call_the_resolver
        fact_value = Resolvers::NetworkingLinux.resolve(:primary_interface)

        ResolvedFact.new(FACT_NAME, fact_value)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facter-4.0.8.pre lib/facts/sles/networking/primary.rb
facter-4.0.7.pre lib/facts/sles/networking/primary.rb