summaryrefslogtreecommitdiff
path: root/chef-config/lib/chef-config/path_helper.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-09-17 11:30:58 -0700
committerTim Smith <tsmith@chef.io>2018-09-17 11:30:58 -0700
commit08f71a1b9df3e163306cd8522324d686eba66f9e (patch)
tree2f670ece66bce3171c6a8d3b6c78bc27d984c330 /chef-config/lib/chef-config/path_helper.rb
parent4383cc3ee5c75174459f3cc0813d4a48e2b96442 (diff)
downloadchef-08f71a1b9df3e163306cd8522324d686eba66f9e.tar.gz
Update script resource deprecation waringscript_resource
Also update todos to be YARD. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'chef-config/lib/chef-config/path_helper.rb')
-rw-r--r--chef-config/lib/chef-config/path_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-config/lib/chef-config/path_helper.rb b/chef-config/lib/chef-config/path_helper.rb
index 84217b9591..de71d483d5 100644
--- a/chef-config/lib/chef-config/path_helper.rb
+++ b/chef-config/lib/chef-config/path_helper.rb
@@ -267,7 +267,7 @@ module ChefConfig
# Determine if the given path is protected by OS X System Integrity Protection.
def self.is_sip_path?(path, node)
if node["platform"] == "mac_os_x" && Gem::Version.new(node["platform_version"]) >= Gem::Version.new("10.11")
- # todo: parse rootless.conf for this?
+ # @todo: parse rootless.conf for this?
sip_paths = [
"/System", "/bin", "/sbin", "/usr"
]