summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-04-10 14:47:35 -0700
committerTim Smith <tsmith84@gmail.com>2020-04-10 14:47:35 -0700
commitb8d0130343ff1b4e35e7d8ee755c808e01e351bf (patch)
tree8bc1a77121d9c3b7b590d21765cdd5ec677e1cf1
parentcafe1e2e62ba38f7ed09d222174b141128b159fd (diff)
downloadchef-b8d0130343ff1b4e35e7d8ee755c808e01e351bf.tar.gz
Call the right plist in build-essential
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/build_essential.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/build_essential.rb b/lib/chef/resource/build_essential.rb
index 5a41f3895b..ab1be3bcfd 100644
--- a/lib/chef/resource/build_essential.rb
+++ b/lib/chef/resource/build_essential.rb
@@ -161,7 +161,7 @@ class Chef
#
# @return [true, false]
def xcode_cli_installed?
- packages = Plist.parse_xml(::File.open("/Library/Receipts/InstallHistory.plist", "r"))
+ packages = ::Plist.parse_xml(::File.open("/Library/Receipts/InstallHistory.plist", "r"))
packages.select! { |package| package["displayName"].match? "Command Line Tools" }
!packages.empty?
end