From 2a7b150fbc48d05112818a9c69f78aa2529bded7 Mon Sep 17 00:00:00 2001 From: Patrick Connolly Date: Mon, 22 Jul 2013 12:14:11 -0400 Subject: [PATCH] Adds chef file_cache_path to README. --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e0f86e4..e14b574 100644 --- a/README.md +++ b/README.md @@ -168,6 +168,18 @@ end Used by Arch Linux, will get configured under guest's `/var/cache/pacman/pkg`. +#### Chef + +```ruby +Vagrant.configure("2") do |config| + config.vm.box = 'some-box-using-chef-provisioner' + config.cache.enable :chef +end +``` + +When a Chef provisioner is detected, this bucket caches the default +`file_cache_path` directory, `/var/chef/cache`. Requires Vagrant 1.2.4+. + #### RubyGems ```ruby @@ -183,7 +195,6 @@ folder under the result of running `gem env gemdir` as the default SSH user (usu it is already installed before enabling the bucket, otherwise you won't benefit from this plugin. - #### RVM ```ruby