Sha256: ffe544c674e10f0243f28eac91b7f5421d79326c5e38b8f31e326a553297a8e8

Contents?: true

Size: 326 Bytes

Versions: 68

Compression:

Stored size: 326 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Aix
    class Partitions
      FACT_NAME = 'partitions'

      def call_the_resolver
        partitions = Facter::Resolvers::Aix::Partitions.resolve(:partitions)

        Facter::ResolvedFact.new(FACT_NAME, partitions.empty? ? nil : partitions)
      end
    end
  end
end

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
facter-4.0.23 lib/facts/aix/partitions.rb
facter-4.0.22 lib/facts/aix/partitions.rb
facter-4.0.21 lib/facts/aix/partitions.rb
facter-4.0.20 lib/facts/aix/partitions.rb
facter-4.0.19 lib/facts/aix/partitions.rb
facter-4.0.18 lib/facts/aix/partitions.rb
facter-4.0.17 lib/facts/aix/partitions.rb
facter-4.0.16 lib/facts/aix/partitions.rb