diff options
author | John Keiser <jkeiser@opscode.com> | 2013-09-11 12:58:06 -0700 |
---|---|---|
committer | John Keiser <jkeiser@opscode.com> | 2013-09-11 12:58:06 -0700 |
commit | 500bb95f318c8b6c599420961d418552805ec202 (patch) | |
tree | ed8a556a4e5ba2a0f58d64c5a008aa941f78e76f /lib/chef | |
parent | d59fb4ed10da4c8d381a662898ded341ace20112 (diff) | |
download | chef-500bb95f318c8b6c599420961d418552805ec202.tar.gz |
Restore platform specificity to /var/cache paths
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/config.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/config.rb b/lib/chef/config.rb index 504a2461d0..81d3554e2a 100644 --- a/lib/chef/config.rb +++ b/lib/chef/config.rb @@ -215,10 +215,10 @@ class Chef checksum_path '/var/chef/checksums' # Where chef's cache files should be stored - file_cache_path '/var/chef/cache' + file_cache_path platform_specific_path('/var/chef/cache') # Where backups of chef-managed files should go - file_backup_path '/var/chef/backup' + file_backup_path platform_specific_path('/var/chef/backup') # By default, chef-client (or solo) creates a lockfile in # `file_cache_path`/chef-client-running.pid |