python/psf-chef — pull request #34 by dpoirier (2013-07-24 14:21:28+00:00)
Title: Keep more settings in Pycon source control.

NOT READY TO MERGE - just looking for feedback on whether this looks like a feasible approach.

The goal is to just override in chef's local_settings file the things that we really only know at deploy time, and keep everything else in settings files in the Pycon source where they're easier to manage.

This would go along with changes in the Pycon source, to default to loading local_settings.py as the top-level settings file, and add the other settings files refered to here, so obviously we couldn't deploy this except in coordination with those changes.

I'm not thrilled with the way local_settings.py.erb assumes the way logging is set up in the settings files it imports, but can't think of another way to keep graylog_host secret and still use it in the logging configuration. We might be better off just keeping the whole logging configuration here; thoughts?