Don't manually add users, manage everything with Chef.
Try a high UID range, otherwise, like 4000
i've been using the users cookbook for a while, and I've noticed an issue that I wonder if anyone else has a solution to. When I add a new user to the databag and run chef-client on a server that has been around for a while and had some users manually added to it, I get a uid and gid conflict. Obviously the real problem here is that we are still manually adding users occasionally, but unfortunately that's unavoidable for now.
I thought about removing the uid and gid attributes from the recipe so it just creates the user with the next available uid and gid, but I thought I would ask on the mailing list before doing that to see what other's have done to avoid this.
Thanks
John
Archive powered by MHonArc 2.6.16.