Plugin always runs, even when not provisioning the VM.
todd-a-jacobs opened this issue · comments
Todd A. Jacobs commented
Currently, I have the following in my Vagrantfile:
config.berkshelf.enabled = true
However, this causes Berkshelf to resolve and vendor cookbooks on every single run (which is a relatively expensive operation) even if the run isn't a provisioning run. I attempted to make the Berkshelf run dependent on whether or not provisioning would run by moving it into the config.vm.provision :chef_solo
block, but this still results in:
==> default: Updating Vagrant's Berkshelf...
on each run.
Expected behavior is that Berkshelf will resolve dependencies and vendor cookbooks only on initial vagrant up
or when running vagrant reload --provision
.