linssen / vagrant-puppet-nginx-uwsgi-flask

A pretty bare set up for running Flask in nginx through uwsgi in Vagrant deployed by Puppet. Got it?
MIT License
24 stars 12 forks source link

Start uWSGI after synced folder mounts #11

Closed jmulmer closed 8 years ago

jmulmer commented 8 years ago

It looks like #9 is caused by the synced folders not being mounted at the time the upstart init script runs. uWSGI can't find the flask app and errors out. I've changed the 'start on' for the init from the vagrant box booting up to waiting for the appropriate mounting signal. I'm new to both puppet and github, so any feedback would be appreciated.

linssen commented 8 years ago

I've not got a setup for this to test, but I've read through some of the cases and this looks like a solid fix. Thanks so much for chipping it in, @jmulmer (and sorry for taking ages to respond.)