Sha256: ee1420514990a90d45250b96185b44a1651e7aa7a1ec790283a4dcc6501620fe

Contents?: true

Size: 323 Bytes

Versions: 1

Compression:

Stored size: 323 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Sles
    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/sles/ruby/sitedir.rb