Well, here''s my next fun issue. . . Take, for example: resources { "user": purge => "true" } user { "bob": ensure => "present"...blah blah blah } This does add the user, as expected, however the purge rolls through all of the LDAP users and tries to remove them. Obviously, this is horribly slow with an LDAP system of any size. Any suggestions (besides rewrite the user provider/type, if I currently had time to do it, I would)? Thanks, T --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Digant C Kasundra
2008-Aug-11 20:03 UTC
[Puppet Users] Re: Fun with user management and LDAP
--On Friday, August 08, 2008 08:49:58 AM -0400 Trevor Vaughan <peiriannydd@gmail.com> wrote:> > Well, here''s my next fun issue. . . > > Take, for example: > > resources { "user": purge => "true" } > user { "bob": > ensure => "present"...blah blah blah > } > > This does add the user, as expected, however the purge rolls through > all of the LDAP users and tries to remove them. Obviously, this is > horribly slow with an LDAP system of any size. > > Any suggestions (besides rewrite the user provider/type, if I > currently had time to do it, I would)? > > Thanks, > > TNope. I''m in the same boat as you. We''re hoping to get seperate providers types for users as a feature in Puppet in the future. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Aug 11, 2008, at 3:03 PM, Digant C Kasundra wrote:> > --On Friday, August 08, 2008 08:49:58 AM -0400 Trevor Vaughan > <peiriannydd@gmail.com> wrote: > >> >> Well, here''s my next fun issue. . . >> >> Take, for example: >> >> resources { "user": purge => "true" } >> user { "bob": >> ensure => "present"...blah blah blah >> } >> >> This does add the user, as expected, however the purge rolls through >> all of the LDAP users and tries to remove them. Obviously, this is >> horribly slow with an LDAP system of any size. >> >> Any suggestions (besides rewrite the user provider/type, if I >> currently had time to do it, I would)? >> >> Thanks, >> >> T > > Nope. I''m in the same boat as you. We''re hoping to get seperate > providers > types for users as a feature in Puppet in the future.And we''re having enough trouble with ruby''s Etc module and libc consistency that it probably makes sense anyway. -- It is curious that physical courage should be so common in the world and moral courage so rare. -- Mark Twain --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---