diff options
Diffstat (limited to 'knife/lib/chef/knife/core/bootstrap_context.rb')
-rw-r--r-- | knife/lib/chef/knife/core/bootstrap_context.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/knife/lib/chef/knife/core/bootstrap_context.rb b/knife/lib/chef/knife/core/bootstrap_context.rb index 0d71aa8dc3..37ddc28409 100644 --- a/knife/lib/chef/knife/core/bootstrap_context.rb +++ b/knife/lib/chef/knife/core/bootstrap_context.rb @@ -172,11 +172,11 @@ class Chef end unless chef_config[:file_cache_path].nil? - client_rb << "file_cache_path \"#{chef_config[:file_cache_path]}\"\n" + client_rb << "file_cache_path \"#{ChefConfig::PathHelper.escapepath(ChefConfig::Config.var_chef_dir(windows: false))}/cache\"\n" end unless chef_config[:file_backup_path].nil? - client_rb << "file_backup_path \"#{chef_config[:file_backup_path]}\"\n" + client_rb << "file_backup_path \"#{ChefConfig::PathHelper.escapepath(ChefConfig::Config.var_chef_dir(windows: false))}/backup\"\n" end client_rb |