Sha256: dced676a8a09a8eba6c6412488ee82a7352cb819c2d2dec98ab6a2ed71fd0b0c

Contents?: true

Size: 284 Bytes

Versions: 63

Compression:

Stored size: 284 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Linux
    class Kernel
      FACT_NAME = 'kernel'

      def call_the_resolver
        fact_value = Facter::Resolvers::Uname.resolve(:kernelname)

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

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
facter-4.0.23 lib/facts/linux/kernel.rb
facter-4.0.22 lib/facts/linux/kernel.rb
facter-4.0.21 lib/facts/linux/kernel.rb