opscode/chef — pull request #962 by gene1wood (2013-08-23 22:16:04+00:00)
Title: CHEF-4482 : change user attribute comparison to string compares

Here's one possible solution for CHEF-4482. Since at their core these values in /etc/passwd and which are passed to the useradd or usermod binaries are strings we can just compare them all as strings and this case is solved.