opdemand/deis-cookbook — pull request #64 by kangaroo (2014-02-06 18:11:14+00:00)
Title: Ensure that the slug root already exists before attempting to clean up

When deploying deis 0.5.0 on vagrant for localdev, converging my formation was failing to compile the cookbook, since the Dir.entries runs at this chef stage, before the slug_dir has been created. Checking for existence guards against this and allowed for formation convergence and application deployment.