Sha256: 20dafdcce1418673803107a776c91b16dca04a65d01604a9834068721e325c49
Contents?: true
Size: 289 Bytes
Versions: 4
Compression:
Stored size: 289 Bytes
Contents
# Fact: gid # # Purpose: Return the GID (group identifier) of the user running puppet. # # Resolution: # # Caveats: # Not supported in Windows yet. # Facter.add(:gid) do confine do Facter::Core::Execution.which('id') end setcode { Facter::Core::Execution.exec('id -ng') } end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
facter-2.2.0 | lib/facter/gid.rb |
facter-2.2.0-x86-mingw32 | lib/facter/gid.rb |
facter-2.2.0-x64-mingw32 | lib/facter/gid.rb |
facter-2.2.0-universal-darwin | lib/facter/gid.rb |