for postgres support
defining requirements for postgresql and salt stack
support for pillar
django settings
create django user and database
pillar vars for django settings
require that postgres user/db exists before placing base.py so that the command will run syncdb with the correct settings (base.py) file
needed to fix these salt errors
needed to define pillar structure/settings
need to ensure that the postgresq pkg is installed before it tries to install the psycopg2 in requirements.txt
allows django user to connect to djangodb
lets give it a secret key
support for secret key from pillar
I was looking for the wrong user -- pebkac error
Need python-dev for psycopg2 rather than postgresql-server-9.1-dev