RiotGames/berkshelf — pull request #525 by fgrehm (2013-05-16 22:39:42+00:00)
Title: Avoid cookbooks vendor directory removal

This is a potential fix for https://github.com/RiotGames/vagrant-berkshelf/issues/17

The current approach of recreating the original cookbooks folder breaks the guest vagrant lxc machine shared folder (and possibly other providers) and this patch makes sure that it is updated without the need to remove it. I've tested this changes on @mikelococo's https://github.com/mikelococo/demo-berkshelf-17 and things seems to be working fine.

I'm not sure how to write tests for this and right now I'm not able to run Berkshelf specs since I'm away from my computer but I believe that since the external behavior stays the same, it should not break anything :-)