diff options
author | Lamont Granquist <lamont@chef.io> | 2019-11-19 10:23:02 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-19 10:23:02 -0800 |
commit | f0639d4aac3379ff7fff731f8ec8f58192884433 (patch) | |
tree | 576d4b41920a6b600ee5619f0f56681a3e0a7a29 | |
parent | 555eba5957ff9c26f296c932e5802e59b2179a1b (diff) | |
parent | 6af4c3e88321f5f81a2ea16dac2051714e0fcdb4 (diff) | |
download | chef-f0639d4aac3379ff7fff731f8ec8f58192884433.tar.gz |
fix enforce_path_sanity being set to true (#9114)
fix enforce_path_sanity being set to true
-rw-r--r-- | lib/chef/client.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/client.rb b/lib/chef/client.rb index 9e1859eba8..ff5dd485dc 100644 --- a/lib/chef/client.rb +++ b/lib/chef/client.rb @@ -250,7 +250,7 @@ class Chef logger.info "#{Chef::Dist::CLIENT.capitalize} pid: #{Process.pid}" logger.info "Targeting node: #{Chef::Config.target_mode.host}" if Chef::Config.target_mode? logger.debug("#{Chef::Dist::CLIENT.capitalize} request_id: #{request_id}") - ENV["PATH"] = ChefUtils::PathSanity.sanitized_path if Chef::Config[:enforce_path_sanity] + ENV["PATH"] = ChefUtils::DSL::PathSanity.sanitized_path if Chef::Config[:enforce_path_sanity] if Chef::Config.target_mode? get_ohai_data_remotely |