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

Plugin always runs, even when not provisioning the VM. #298

Open
todd-a-jacobs opened this issue Feb 15, 2016 · 0 comments
Open

Plugin always runs, even when not provisioning the VM. #298

todd-a-jacobs opened this issue Feb 15, 2016 · 0 comments
Labels

Comments

@todd-a-jacobs
Copy link

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.

@reset reset added the Bug label Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants