sous-chefs / users

Development repository for the users cookbook
https://supermarket.chef.io/cookbooks/users
Apache License 2.0
138 stars 217 forks source link

validate uid/gid #126

Closed 375gnu closed 8 years ago

375gnu commented 8 years ago

this should fix issue 125

iennae commented 8 years ago

Totally understand why you're doing it this way now. Thanks! If a user of this cookbook sets uid to a string, and that string is the same as the username, this solves that problem.

It also solves the problem if the person makes the uid a string that looks like an integer.

iennae commented 8 years ago

Thanks for your PR, have pulled it in modified via https://github.com/chef-cookbooks/users/pull/127. Closing this PR.