From d2ae83f04ea6043ca6112ef6b1816cbf31374732 Mon Sep 17 00:00:00 2001 From: Steven Murawski Date: Thu, 27 Apr 2017 20:38:52 -0500 Subject: Remove extraneous `puts` Signed-off-by: Steven Murawski --- lib/chef/provider/package/msu.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/chef') diff --git a/lib/chef/provider/package/msu.rb b/lib/chef/provider/package/msu.rb index 735572bc65..5c398149ba 100644 --- a/lib/chef/provider/package/msu.rb +++ b/lib/chef/provider/package/msu.rb @@ -141,7 +141,7 @@ class Chef else # msu package contains only single xml file. So using xml_files.first is sufficient doc = ::File.open(xml_files.first.to_s) { |f| REXML::Document.new f } - locations = doc.elements.each("unattend/servicing/package/source") { |element| puts element.attributes["location"] } + locations = doc.elements.each("unattend/servicing/package/source") { |element| element.attributes["location"] } locations.each do |loc| cab_files << msu_dir + "/" + loc.attribute("location").value.split("\\")[1] end -- cgit v1.2.1