Sha256: f8c8becc14672870eb94cf33295e9fd6211262a4e4b63dc6354127ed3ad05802

Contents?: true

Size: 299 Bytes

Versions: 29

Compression:

Stored size: 299 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Aix
    class Kernelrelease
      FACT_NAME = 'kernelrelease'

      def call_the_resolver
        fact_value = Facter::Resolvers::OsLevel.resolve(:build).strip

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

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
facter-4.0.17 lib/facts/aix/kernelrelease.rb
facter-4.0.16 lib/facts/aix/kernelrelease.rb
facter-4.0.15 lib/facts/aix/kernelrelease.rb
facter-4.0.14 lib/facts/aix/kernelrelease.rb
facter-4.0.13 lib/facts/aix/kernelrelease.rb
facter-4.0.12 lib/facts/aix/kernelrelease.rb
facter-4.0.11 lib/facts/aix/kernelrelease.rb
facter-4.0.10.pre lib/facts/aix/kernelrelease.rb
facter-4.0.9.pre lib/facts/aix/kernelrelease.rb