Thanks Jhon for the response but I am still in black-hole. Btw total no of users on the system are only below which are in the class. So I don't think puppet should take much time to find free UIDs. Regarding other classess if I disable all classes and and use only this class the behavior is same no matter how long I remain the process running puppet just do nothing and consume 100% cpu then I have to kill the process eventually.
On Tue, Jun 26, 2012 at 6:48 PM, jcbollinger <john.bollin...@stjude.org>wrote: > > > On Monday, June 25, 2012 7:54:54 AM UTC-5, Azfar Hashmi wrote: >> >> Anyone please >> >> > I don't see anything inherently wrong with the class, and the behavior you > describe is not normal for Puppet, so the issue likely arises from a > combination of the node's current configuration with the configuration > details you are applying. > > Even with the class, you really haven't given us much to go on. David's > suggestion is as plausible as any; it supposes that there is a very large > number of users already defined to the system, perhaps in an external > directory, so that the system has to perform a lot of work to find > acceptable UIDs for the new users. If he's right, then you should see > similarly high CPU usage when you try to manually add the same users via > the "adduser" command. Also, you should be able to sidestep the problem by > specifying the UIDs that these users should have (via the User resources' > 'uid' properties). > > The contents of /etc/nsswitch.conf might also provide a clue. > > > John > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/47AZq8alnZMJ. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.