I noticed that I'm hitting 100% CPU after provisioning. It seems that the newly provisioned machine kicks up Unicorn which then proceeds to spawn workers, which then immediately crash as the database is not found.
I think the cause is rooted in how this recipe is invoked. As of writing, the interesting bit of code is in "recipes/default.rb" lines 50-69. The non-reset condition is not idempotent, it should attempt to create the database and then migrate it.
I noticed that I'm hitting 100% CPU after provisioning. It seems that the newly provisioned machine kicks up Unicorn which then proceeds to spawn workers, which then immediately crash as the database is not found.
I think the cause is rooted in how this recipe is invoked. As of writing, the interesting bit of code is in "recipes/default.rb" lines 50-69. The non-reset condition is not idempotent, it should attempt to create the database and then migrate it.