dimagi/commcarehq-ansible — pull request #20 by dannyroberts (2014-11-25 18:37:39+00:00)
Title: Salt localsettings

This is to the point where a fab preindex is working on it (as long as you're running `fab development awesome_deploy --set code_branch=EMAIL_USE_TLS`, until the `EMAIL_USE_TLS` branch gets merged in.)

It's failing on compressor stuff now. I think it's fair to review this and merge now, and just accept it's not fully complete. To note:

- `fab development deploy` (from the [`fab-ansible` branch of `commcare-hq`](https://github.com/dimagi/commcare-hq/compare/fab-ansible)) fails on `python manage.py compress`, which is due to lessc not being installed on the proxy. To different versions need to be installed: the latest by git cloning the lessc repo to /opt/lessc and 1.3.0 through npm (see [commcare-hq README](https://github.com/dimagi/commcarehq-ansible/blob/master/README.md) for details).
- If you do comment out the compressor related stuff, apache static files now 404. Not sure what's up with that; I thought it was a permissions thing and started to debug here (https://github.com/dimagi/commcarehq-ansible/commit/f061019b)