opscode/cookbooks — pull request #231 by onfire4g05 (2011-10-25 19:54:13+00:00)
Title: Fix for Chef::Exceptions::UserIDNotFound when a new Apache2 installation is made

If this is a brand new install of Apache2, ohai must reload the user list so it find the user ID when files and directories are setup later.

Without this patch, the following exception is thrown:

Chef::Exceptions::UserIDNotFound: "had an error: cannot determine user id for 'apache', does the user exist on this system?"