diff options
author | Jose Asuncion <jose.asuncion@gmail.com> | 2017-09-25 17:00:51 -0700 |
---|---|---|
committer | Jose Asuncion <jose.asuncion@gmail.com> | 2017-09-25 17:02:56 -0700 |
commit | d3cf74513829347db86f451cdd3ecc06bab01072 (patch) | |
tree | 52bb0cd7e26b15226db7cd60893a8bffb782acb5 /lib/chef/exceptions.rb | |
parent | bdf090c43e46a1aeec80c6b495c6858f9c2d6300 (diff) | |
parent | 87feda303b3d8e0bb4fc08b6f7642b44f82c075d (diff) | |
download | chef-d3cf74513829347db86f451cdd3ecc06bab01072.tar.gz |
Merge branch 'master' into feat/5556
Signed-off-by: Jose Asuncion <jeunito@gmail.com>
Diffstat (limited to 'lib/chef/exceptions.rb')
-rw-r--r-- | lib/chef/exceptions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/exceptions.rb b/lib/chef/exceptions.rb index 91402bc6c2..a73062b676 100644 --- a/lib/chef/exceptions.rb +++ b/lib/chef/exceptions.rb @@ -515,7 +515,7 @@ This error is most often caused by network issues (proxies, etc) outside of chef "Resource #{r['Name']} is a binary resource" end end - super "Found multiple matching resources. #{matches_info.join("\n")}" + super "Found multiple resources matching #{matches_info[0]["Module"]["Name"]}:\n#{(matches_info.map { |f| f["Module"]["Version"] }).uniq.join("\n")}" end end |