Sha256: af022807d24fdd5a1a5f0ccca8b043dd24926deffd1003b752447df84d585087

Contents?: true

Size: 326 Bytes

Versions: 1

Compression:

Stored size: 326 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Debian
    module Ruby
      class Sitedir
        FACT_NAME = 'ruby.sitedir'

        def call_the_resolver
          fact_value = Facter::Resolvers::Ruby.resolve(:sitedir)

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facter-4.0.9.pre lib/facts/debian/ruby/sitedir.rb