On Fri, Oct 26, 2012 at 8:16 AM, llowder <llowderiv@gmail.com>
wrote:> When I run "puppet resource user <ldadpuser>" I get a
resource definition
> back for that user. However, when I run "puppet resource user" I
do NOT see
> <ldapuser> in the list.
>
> Is this intended behavior? Is there a way to get a list of all users,
> whether they are ldap or local?
The user resource only implemented discovery for local users, it did
not implement a way to discovery accounts on ldap. You can still
manage ldap accounts, but they won''t show up in the command
''puppet
resource user''. You can extend the ldap user provider and implement
the self.instances method to list all ldap user accounts if you wish
to have this functionality, however I suspect this will carry quite a
bit of overhead.
Nan
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.