summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-10-29 15:08:49 -0700
committerTim Smith <tsmith@chef.io>2018-10-30 16:19:15 -0700
commitdb1b8e3fbfc03fa689a70813b1db133fcd3c4b65 (patch)
tree995fbb2b84d80aeb0a71da075bafaabd8671fc6c
parentd7cbacb33f419405538ff43b5cc5cb29c227937a (diff)
downloadchef-db1b8e3fbfc03fa689a70813b1db133fcd3c4b65.tar.gz
Properly deprecate visudo_path property in sudo resource
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 3bfcb7589e..5b70ffa22d 100644
--- a/lib/chef/resource/sudo.rb
+++ b/lib/chef/resource/sudo.rb
@@ -99,7 +99,7 @@ class Chef
default: lazy { [] }
property :visudo_path, String,
- description: "Deprecated property. Do not use."
+ deprecated: true
property :visudo_binary, String,
description: "The path to visudo for configuration verification.",