Module | Puppet::Util::POSIX |
In: |
lib/puppet/util/posix.rb
|
Utility methods for interacting with POSIX objects; mostly user and group
Retrieve a field from a POSIX Etc object. The id can be either an integer or a name. This only works for users and groups. It‘s also broken on some platforms, unfortunately, which is why we fall back to the other method search_posix_field in the gid and uid methods if a sanity check fails