Closed crawley closed 10 years ago
What is the "group creation problem"? Is there a COOK ticket for this?
Ermm ... https://tickets.opscode.com/browse/COOK-4231 ... like the name of my branch. Basically, the problem is that the 'user' resource can end up creating a user whose primary group name/id doesn't match either the gid or the username. This fix deals with that by looking up the user's actual primary gid and using that for the SSH directory and files.
Messing with the run_context
is generally frowned upon. This cookbook is about to undergo a large refactor.
There may be a more elegant way to do this (than using "dynamic resources"), but this way works for me.
(There don't appear to be any tests for this Cookbook ... notwithstanding what Contributing.md says.)