Specify the Chef version in the Vagrant config

We don't need the vagrant-omnibus plugin anymore
This commit is contained in:
Greg 2017-07-07 17:16:05 +02:00
parent ffdec12606
commit 262fbd89b6
1 changed files with 1 additions and 6 deletions

7
Vagrantfile vendored
View File

@ -82,13 +82,8 @@ Vagrant.configure(2) do |config|
# sudo apt-get install -y apache2
# SHELL
# Install latest Chef via Omnibus
# Needs `vagrant plugin install vagrant-omnibus`
if Vagrant.has_plugin?("vagrant-omnibus")
config.omnibus.chef_version = "12.20.3"
end
config.vm.provision :chef_zero do |chef|
chef.version = '12.21.3'
chef.cookbooks_path = ['cookbooks', 'site-cookbooks']
chef.data_bags_path = 'data_bags'
chef.roles_path = 'roles'