berkshelf / vagrant-berkshelf

A Vagrant plugin to add Berkshelf integration to the Chef provisioners
Other
379 stars 100 forks source link

don't require ChefDK installed on host machine, run Berkshelf inside guest #241

Closed mkuzmin closed 9 years ago

mkuzmin commented 9 years ago

Vagrant-Berkshelf plugin solves a cookbook downloading issue, so my clients don't need to checkout a copy of a cookbook explicitly for VM provisioning. But it adds a new runtime dependency instead. Now ChefDK package must be installed on host machine. It would be great, if all Chef-related tasks are performed inside a guest machine, and no additional software is required to be installed on host. That would make Vagrantfiles more portable.

sethvargo commented 9 years ago

@mkuzmin I'm sorry, but this is not possible. Vagrant Berkshelf needs to setup shared folders, which can only be done on the host machine. Additionally, it would drastically increase networking bandwidth because cookbooks would be downloaded on each new VM instead of cached on the host as-is now.