Class: Chef::Provider::Breakpoint
- Inherits:
-
Chef::Provider
- Object
- Chef::Provider
- Chef::Provider::Breakpoint
- Defined in:
- lib/chef/provider/breakpoint.rb
Instance Attribute Summary
Attributes inherited from Chef::Provider
#current_resource, #new_resource, #run_context
Instance Method Summary collapse
Methods inherited from Chef::Provider
#action_nothing, build_from_file, #cookbook_name, #initialize, #node, #resource_collection
Methods included from Mixin::ConvertToClassName
#convert_to_class_name, #convert_to_snake_case, #filename_to_qualified_string, #snake_case_basename
Methods included from Mixin::RecipeDefinitionDSLCore
Methods included from Mixin::Language
#data_bag, #data_bag_item, #platform?, #search, #value_for_platform
Constructor Details
This class inherits a constructor from Chef::Provider
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Chef::Mixin::RecipeDefinitionDSLCore
Instance Method Details
#action_break ⇒ Object
26 27 28 29 30 31 32 |
# File 'lib/chef/provider/breakpoint.rb', line 26 def action_break if defined?(Shef) && Shef.running? run_context.resource_collection.iterator.pause @new_resource.updated_by_last_action(true) run_context.resource_collection.iterator end end |
#load_current_resource ⇒ Object
23 24 |
# File 'lib/chef/provider/breakpoint.rb', line 23 def load_current_resource end |