summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-10-29 15:08:49 -0700
committerTim Smith <tsmith@chef.io>2018-11-05 09:38:23 -0800
commit87bbe0b7e63eb4fec6284c7593befe0cc88661d8 (patch)
tree897c88435ea80661e0d9ebfb4198366b45a14bf7
parentcfb8881d42d7cc4c354361a0c646b994a17673b5 (diff)
downloadchef-87bbe0b7e63eb4fec6284c7593befe0cc88661d8.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.",