Sha256: 94fb0f03e6ddec68b551f60c41279e303d3e2c59d8143853dca7c0ca40a467d9

Contents?: true

Size: 304 Bytes

Versions: 46

Compression:

Stored size: 304 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Aix
    class Kernelrelease
      FACT_NAME = 'kernelrelease'

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

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

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
facter-4.0.44 lib/facter/facts/aix/kernelrelease.rb
facter-4.0.43 lib/facter/facts/aix/kernelrelease.rb
facter-4.0.42 lib/facter/facts/aix/kernelrelease.rb
facter-4.0.41 lib/facter/facts/aix/kernelrelease.rb
facter-4.0.40 lib/facter/facts/aix/kernelrelease.rb
facter-4.0.39 lib/facter/facts/aix/kernelrelease.rb