opscode/chef — pull request #486 by btm (2012-11-16 17:59:37+00:00)
Title: CHEF-3582: Fix #check_lock under why-run

We assume in whyrun mode that a non-existant user would be created before we
attempt to lock it, so we return false from #check_lock when user does not
exist and we are in why_run mode.