I would like to trigger the installation of Chef and then run some preparation, such as fetching cookbooks from Chef Supermarket.
There are two methods to do this: Berksfile
and Policyfile
. In the past, there was support for a vagrant-berkshelf plugin, but this is archived as it was no longer maintainable after vagrant was no longer distributed as a ruby gem (source: The future of Vagrant Berkshelf).
So now, is the question, how to setup and fetch cookbooks with Vagrant?