Sha256: 696f038f5e5aa159f091164449b395bf9cb834d3e00ed3ecf33479727313458d

Contents?: true

Size: 390 Bytes

Versions: 69

Compression:

Stored size: 390 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Debian
    module Os
      module Distro
        class Description
          FACT_NAME = 'os.distro.description'

          def call_the_resolver
            fact_value = Facter::Resolvers::OsRelease.resolve(:pretty_name)

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

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
facter-4.0.23 lib/facts/debian/os/distro/description.rb
facter-4.0.22 lib/facts/debian/os/distro/description.rb
facter-4.0.21 lib/facts/debian/os/distro/description.rb
facter-4.0.20 lib/facts/debian/os/distro/description.rb
facter-4.0.19 lib/facts/debian/os/distro/description.rb
facter-4.0.18 lib/facts/debian/os/distro/description.rb
facter-4.0.17 lib/facts/debian/os/distro/description.rb
facter-4.0.16 lib/facts/debian/os/distro/description.rb
facter-4.0.15 lib/facts/debian/os/distro/description.rb