Method: Chef::RunContext#initialize_child_state
- Defined in:
- lib/chef/run_context.rb
#initialize_child_state ⇒ Object
Initialize state that applies to both Chef::RunContext and Chef::ChildRunContext
265 266 267 268 269 270 271 272 |
# File 'lib/chef/run_context.rb', line 265 def initialize_child_state @resource_collection = Chef::ResourceCollection.new(self) @before_notification_collection = Hash.new { |h, k| h[k] = [] } @immediate_notification_collection = Hash.new { |h, k| h[k] = [] } @delayed_notification_collection = Hash.new { |h, k| h[k] = [] } @delayed_actions = [] @updated_resources = Set.new end |