diff options
author | tyler-ball <tyleraball@gmail.com> | 2014-10-13 10:50:24 -0500 |
---|---|---|
committer | tyler-ball <tyleraball@gmail.com> | 2014-10-16 10:33:02 -0500 |
commit | 43e8d8b751293bf1eb03b69e6dc3c2c621154ed4 (patch) | |
tree | d3816573c99ea3c11530b849b7e6bb50223e62a3 /lib/chef/provider/deploy.rb | |
parent | b2f47460c7036f94e1bed1ca23f4d18409374af2 (diff) | |
download | chef-43e8d8b751293bf1eb03b69e6dc3c2c621154ed4.tar.gz |
Finishing all code changes to split resource collection into 2 data containers
Diffstat (limited to 'lib/chef/provider/deploy.rb')
-rw-r--r-- | lib/chef/provider/deploy.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/provider/deploy.rb b/lib/chef/provider/deploy.rb index db147278c2..d55dc35f94 100644 --- a/lib/chef/provider/deploy.rb +++ b/lib/chef/provider/deploy.rb @@ -375,7 +375,8 @@ class Chef def gem_resource_collection_runner gems_collection = Chef::ResourceCollection.new - gem_packages.each { |rbgem| gems_collection << rbgem } + # We don't need to populated the resource_set because converge simply runs through each resource and applies them + gem_packages.each { |rbgem| gems_collection.resource_list << rbgem } gems_run_context = run_context.dup gems_run_context.resource_collection = gems_collection Chef::Runner.new(gems_run_context) |