Specify the Chef version in the Vagrant config
We don't need the vagrant-omnibus plugin anymore
This commit is contained in:
parent
ffdec12606
commit
262fbd89b6
7
Vagrantfile
vendored
7
Vagrantfile
vendored
@ -82,13 +82,8 @@ Vagrant.configure(2) do |config|
|
|||||||
# sudo apt-get install -y apache2
|
# sudo apt-get install -y apache2
|
||||||
# SHELL
|
# 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|
|
config.vm.provision :chef_zero do |chef|
|
||||||
|
chef.version = '12.21.3'
|
||||||
chef.cookbooks_path = ['cookbooks', 'site-cookbooks']
|
chef.cookbooks_path = ['cookbooks', 'site-cookbooks']
|
||||||
chef.data_bags_path = 'data_bags'
|
chef.data_bags_path = 'data_bags'
|
||||||
chef.roles_path = 'roles'
|
chef.roles_path = 'roles'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user