Hi! I have a user that gets created during the installation of a
vendor-supplied package . . . I need to add this user to a group . . .
anyone know ow to do that? If it makes a difference, this user has a
different UID on each machine it’s installed on 
Thanks!
Guy
Yep, you can use the group resourcehttp://docs.opscode.com/resource_group.html to take care of this. You just have to make sure that the user is there ahead of this running in the run_list and it can use the members option to make sure it’s where it needs to be.
Best Regards,
JJ Asghar
e: jj.asghar@peopleadmin.com | c: 512.619.0722 | o: 512.977.5876
From: Guy Matz <guymatz@gmail.commailto:guymatz@gmail.com>
Reply-To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Date: Monday, February 17, 2014 at 3:29 PM
To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Subject: [chef] Adding a user to a group?
Hi! I have a user that gets created during the installation of a vendor-supplied package . . . I need to add this user to a group . . . anyone know ow to do that? If it makes a difference, this user has a different UID on each machine it’s installed on 
Thanks!
Guy