Sha256: 2b1fb719b699d767c34d464b1f6f6cd82e30fe2fccb1d7633d37f63b7dd8e16c

Contents?: true

Size: 330 Bytes

Versions: 5

Compression:

Stored size: 330 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Openbsd
    module Identity
      class Uid
        FACT_NAME = 'identity.uid'

        def call_the_resolver
          fact_value = Facter::Resolvers::PosxIdentity.resolve(:uid)
          Facter::ResolvedFact.new(FACT_NAME, fact_value)
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
facter-4.10.0 lib/facter/facts/openbsd/identity/uid.rb
facter-4.9.0 lib/facter/facts/openbsd/identity/uid.rb
facter-4.8.0 lib/facter/facts/openbsd/identity/uid.rb
facter-4.7.1 lib/facter/facts/openbsd/identity/uid.rb
facter-4.7.0 lib/facter/facts/openbsd/identity/uid.rb