opscode-cookbooks/nginx — pull request #158 by kliuchnikau (2013-10-04 14:26:13+00:00)
Title: Cannot use existing user with nginx::source recipe - it always tries to create new system user

Here is my use-case:
I have an existing user and I run my application server under this user.
I need nginx to run its worker processes under the same user, but nginx::source recipe tries to create new system user with the name specified in node['nginx']['user'] attribute.
It turns out I cannot skip user creation. Here is my patch (first thing that came to my mind). I would like to hear your thoughts about my use case and possible fixes for it.