Sha256: 3a6e4af8bb4b1fb8228478e0f8f0c9c6f64d27acf5207a9ccb99d50a5f0cf895

Contents?: true

Size: 475 Bytes

Versions: 1

Compression:

Stored size: 475 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Macosx
    module Identity
      class Group
        FACT_NAME = 'identity.group'
        ALIASES = 'gid'

        def call_the_resolver
          fact_value = Facter::Resolvers::PosxIdentity.resolve(:group)
          Facter::ResolvedFact.new(FACT_NAME, fact_value)
          [Facter::ResolvedFact.new(FACT_NAME, fact_value), Facter::ResolvedFact.new(ALIASES, fact_value, :legacy)]
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facter-4.0.10.pre lib/facts/macosx/identity/group.rb