The add_recipe
method is a regular method, not an accessor, i.e. it is not add_recipe=
. Thus, you can add recipes by using this code:
config.vm.provision :chef_solo do |chef|
chef.add_recipe 'apache2'
end
Consequently, you can call that multiple times to add additional recipes (or add them as additional parameters).