diff options
author | axelrtgs <jamie@axelrtgs.com> | 2020-12-15 15:28:53 -0500 |
---|---|---|
committer | axelrtgs <jamie@axelrtgs.com> | 2020-12-15 15:35:29 -0500 |
commit | 3adefc9a15b5edb40e84c4696abef767ec39e6b2 (patch) | |
tree | 9cd6978e8d297e5a0a39799e00f5163a2a32e016 /lib/chef/knife | |
parent | 5335af31169969581a36a8941d147ff091d0ee27 (diff) | |
download | chef-3adefc9a15b5edb40e84c4696abef767ec39e6b2.tar.gz |
Windows Trusted cert path slashes fix
Signed-off-by: Jamie Zaharopoulos <jamie@axelrtgs.com>
Diffstat (limited to 'lib/chef/knife')
-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] |