Class | Puppet::Provider::NameService |
In: |
lib/puppet/provider/nameservice/directoryservice.rb
lib/puppet/provider/nameservice/objectadd.rb lib/puppet/provider/nameservice/pw.rb lib/puppet/provider/nameservice.rb |
Parent: | Object |
This is the parent class of all NSS classes. They‘re very different in their backend, but they‘re pretty similar on the front-end. This class provides a way for them all to be as similar as possible.
List everything out by name. Abstracted a bit so that it works for both users and groups.
Autogenerate a value. Mostly used for uid/gid, but also used heavily with DirectoryServices, because DirectoryServices is stupid.
Autogenerate either a uid or a gid. This is hard-coded: we can only generate one field type per class.
The list of all groups the user is a member of. Different user mgmt systems will need to override this method.