diff options
author | Claire McQuin <claire@getchef.com> | 2014-05-19 13:55:18 -0700 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2014-05-22 12:16:36 -0700 |
commit | 7d2891419ef04288ddd7bb2322df41cc9bd203dd (patch) | |
tree | 354eb64b83b99b4803fb8f7850483e9aca945f20 /spec/integration/knife/deps_spec.rb | |
parent | 92519eb2cf7ae1b362f22d5710a229c5809a47cc (diff) | |
download | chef-7d2891419ef04288ddd7bb2322df41cc9bd203dd.tar.gz |
Put cache at HOME/.chef.d if /var/chef can't be accessed.
Diffstat (limited to 'spec/integration/knife/deps_spec.rb')
-rw-r--r-- | spec/integration/knife/deps_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/integration/knife/deps_spec.rb b/spec/integration/knife/deps_spec.rb index 5ede0caef3..56820bc2b3 100644 --- a/spec/integration/knife/deps_spec.rb +++ b/spec/integration/knife/deps_spec.rb @@ -340,6 +340,10 @@ EOM end context 'remote' do + before do + Chef::Config[:cache_path] = windows? ? 'C:\chef' : '/var/chef' + end + when_the_chef_server 'has a role with no run_list' do role 'starring', {} it 'knife deps reports no dependencies' do |