summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/chef/provider/package/msu.rb2
1 files changed, 1 insertions, 1 deletions
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