summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-03-22 21:13:54 -0700
committerTim Smith <tsmith@chef.io>2018-03-22 21:14:32 -0700
commit566d8c43c20d134170532cdd07168522f560bb12 (patch)
tree62357c93ed018de47624b342ee8cc6e1d857e650
parentacecc50fce76f03ff68827fa196cd08347ee2b25 (diff)
downloadchef-sudo_which.tar.gz
Call the new method namesudo_which
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/sudo.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/sudo.rb b/lib/chef/resource/sudo.rb
index 03b77cb805..f8c4bf5af1 100644
--- a/lib/chef/resource/sudo.rb
+++ b/lib/chef/resource/sudo.rb
@@ -129,7 +129,7 @@ class Chef
# default config prefix paths based on platform
# @return [String]
- def config_prefix
+ def platform_config_prefix
case node["platform_family"]
when "smartos"
"/opt/local/etc"