diff options
author | Steven Murawski <steven.murawski@gmail.com> | 2017-04-27 20:38:52 -0500 |
---|---|---|
committer | Steven Murawski <steven.murawski@gmail.com> | 2017-05-08 18:04:00 -0500 |
commit | d2ae83f04ea6043ca6112ef6b1816cbf31374732 (patch) | |
tree | d1deffa2dbc6797079b29cdeb9f79ab41096b0fa /lib/chef | |
parent | 676f569da1b975c22a6ed85978299413dd5ef772 (diff) | |
download | chef-d2ae83f04ea6043ca6112ef6b1816cbf31374732.tar.gz |
Remove extraneous `puts`smurawski/cab_compare
Signed-off-by: Steven Murawski <steven.murawski@gmail.com>
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/provider/package/msu.rb | 2 |
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 |