summaryrefslogtreecommitdiff
path: root/chef-config/lib
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2020-07-22 17:24:48 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2020-07-22 17:24:48 -0700
commitdf3f9fa4f950827b028efb58b1403f8e4c6f3d08 (patch)
tree932e2f01d86c39f328ca9c5475e253efb4b0e06a /chef-config/lib
parentd7deaae8fcf84c19c825e43c487819cde24ed549 (diff)
downloadchef-df3f9fa4f950827b028efb58b1403f8e4c6f3d08.tar.gz
Convert to default_paths APIlcg/default-paths
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'chef-config/lib')
-rw-r--r--chef-config/lib/chef-config/config.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/chef-config/lib/chef-config/config.rb b/chef-config/lib/chef-config/config.rb
index bbf686af18..6675bac142 100644
--- a/chef-config/lib/chef-config/config.rb
+++ b/chef-config/lib/chef-config/config.rb
@@ -313,9 +313,12 @@ module ChefConfig
# Defaults to <chef_repo_path>/users.
default(:user_path) { derive_path_from_chef_repo_path("users") }.writes_value { |path| expand_relative_paths(path) }
- # Turn on "path sanity" by default.
+ # DEPRECATED
default :enforce_path_sanity, false
+ # Enforce default paths by default for all APIs, not just the default internal shell_out
+ default :enforce_default_paths, false
+
# Formatted Chef Client output is a beta feature, disabled by default:
default :formatter, "null"