python/psf-chef — pull request #95 by benjaminws (2014-02-17 08:08:43+00:00)
Title: Start standing up pydotorg production

This is up and running against the staging database at http://virt-q0dzqq.psf.osuosl.org/. It is not behind the load balancer yet, though this PR would enable the new pool.

Prod elasticsearch is setup on virt-q0dzqq.psf.osuosl.org, but I think there are still integration points in the app for it to be able to it.

Before we go live these are some things that need to happen:

* Create postgres credentials
* Store new credentials in encrypted databag
* Update the recipe to get the new credentials
* Tag the new web node in chef with 'active'
* Ensure load balancer pool is working as expected

Things covered in this PR:

- Note machines allocated for this
- Create a prod recipe. ** I don't like this, but I want to get this working asap. **
- Create prod web role
- Create prod elasticsearch role
- Setup load balancer for pydotorg-prod-web
- Inject settings module into gunicorn env (instead of hardcoding in template)