Commit 1118af7e authored by Chris Roberts's avatar Chris Roberts
Browse files

Fix attribute name. Consume more coffee.

parent 01476e09
......@@ -24,7 +24,7 @@ class Chef
bin = Chef::Resource::DpkgAutostart.new('bin_file', node.run_context)
bin.action :create
current_resources = context.resource_collection.all_resources
[bin, all_resources].flatten.each_with_index do |res, i|
[bin, current_resources].flatten.each_with_index do |res, i|
context.resource_collection[i] = res
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment