diff options
author | Tim Smith <tsmith@chef.io> | 2020-12-15 16:03:48 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-15 16:03:48 -0800 |
commit | 90a8b77705ec7146a2d84b0a34a1e9d22441bce2 (patch) | |
tree | c4442ab5dcdb9102dd6cd454b679a2674cb6fc34 | |
parent | 34610f3efad8c8424760014a7ade4c721d3e12c7 (diff) | |
parent | 3adefc9a15b5edb40e84c4696abef767ec39e6b2 (diff) | |
download | chef-90a8b77705ec7146a2d84b0a34a1e9d22441bce2.tar.gz |
Merge pull request #10740 from axelrtgs/bugfix/windowsbootstrap
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/knife/core/windows_bootstrap_context.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/core/windows_bootstrap_context.rb b/lib/chef/knife/core/windows_bootstrap_context.rb index 4b40d5bfb9..fa8b43f383 100644 --- a/lib/chef/knife/core/windows_bootstrap_context.rb +++ b/lib/chef/knife/core/windows_bootstrap_context.rb @@ -140,7 +140,7 @@ class Chef end unless trusted_certs_script.empty? - client_rb << %Q{trusted_certs_dir "#{ChefConfig::Config.etc_chef_dir(windows: true)}/trusted_certs"\n} + client_rb << %Q{trusted_certs_dir "#{ChefConfig::PathHelper.escapepath(ChefConfig::Config.etc_chef_dir(windows: true))}\\\\trusted_certs"\n} end if chef_config[:fips] |