Skip to content

Commit

Permalink
Merge pull request #259 from test-kitchen/afiune/change-default-dir-f…
Browse files Browse the repository at this point in the history
…or-cache

Change default cache dir for Windows
  • Loading branch information
mwrock authored Dec 5, 2016
2 parents f02dcf0 + 518c922 commit 0b02854
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/kitchen/driver/vagrant.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class Vagrant < Kitchen::Driver::Base
end

default_config(:cache_directory) do |driver|
driver.windows_os? ? "C:\\omnibus\\cache" : "/tmp/omnibus/cache"
driver.windows_os? ? "/omnibus/cache" : "/tmp/omnibus/cache"
end

no_parallel_for :create, :destroy
Expand Down
2 changes: 1 addition & 1 deletion spec/kitchen/driver/vagrant_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ def run_command(_cmd, options = {})
let(:win_cache_directory_array) do
[
File.expand_path("~/.kitchen/cache"),
"C:\\omnibus\\cache",
"/omnibus/cache",
"create: true"
]
end
Expand Down

0 comments on commit 0b02854

Please sign in to comment.