Skip to content
This repository has been archived by the owner on Dec 26, 2017. It is now read-only.

berkshelf shares the wrong folder when bringing up new vagrant box #295

Open
ccope opened this issue Dec 30, 2015 · 0 comments
Open

berkshelf shares the wrong folder when bringing up new vagrant box #295

ccope opened this issue Dec 30, 2015 · 0 comments

Comments

@ccope
Copy link

ccope commented Dec 30, 2015

Steps to repro:
vagrant destroy && vagrant box remove (your box name)
vagrant up --provision

Chef run will fail due to missing cookbooks (like apt)

This only occurs when the box is added. I see on the first run it vendors the cookbooks into a shelf (in (~/.berkshelf/vagrant-berkshelf/shelves/...), but then it tries sharing the main project 'cookbooks' folder (next to my Vagrantfile) rather than the shelf. vagrant reload && vagrant provision will correctly mount the shelf instead.

Versions:
Vagrant 1.7.4, 1.8.1
ChefDK 0.8.0, 0.10.0
vagrant-berkshelf 4.0.4, 4.1.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant