opscode-cookbooks/application_python — pull request #31 by bbelchak (2013-07-10 19:56:11+00:00)
Title: Make celery LWRP honor virtualenv and CELERY_CONFIG_MODULE

The virtualenv is necessary to make sure that we are enabling the proper version of celery.

Additionally, the way the non-django path of the code was working would not properly load the CELERY_CONFIG_MODULE due to the fact that celery expects a python module name, but was getting a filename (e.g. celery_settings vs. celery_settings.py).