lib/vagrant-berkshelf/action/share.rb in vagrant-berkshelf-4.1.0 vs lib/vagrant-berkshelf/action/share.rb in vagrant-berkshelf-5.0.0
- old
+ new
@@ -20,10 +20,10 @@
list = provisioners(:chef_solo, env) + provisioners(:chef_zero, env)
list.each do |chef|
value = chef.config.send(:prepare_folders_config, env[:berkshelf].shelf)
@logger.debug "Setting cookbooks_path = #{value.inspect}"
- chef.config.cookbooks_path = value
+ chef.config.cookbooks_path = value + Array(chef.config.cookbooks_path)
end
@app.call(env)
end
end