Skip to content
This repository has been archived by the owner on Dec 26, 2017. It is now read-only.

Commit

Permalink
Merge pull request #266 from YanhaoYang/master
Browse files Browse the repository at this point in the history
 Preserve cookbooks_path set in Vagrantfile
  • Loading branch information
tas50 committed Aug 5, 2016
2 parents e3561dc + 4fa531a commit 7b9a17b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vagrant-berkshelf/action/share.rb
Expand Up @@ -22,7 +22,7 @@ def call(env)
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)
Expand Down

0 comments on commit 7b9a17b

Please sign in to comment.