chef/lib/chef/formatters/doc.rb
# Called before action is executed on a resource.
Called before action is executed on a resource.
Called before action is executed on a resource .
def resource_action_start(resource, action, notification_type=nil, notifier=nil)
        if resource.cookbook_name && resource.recipe_name
          resource_recipe = "#{resource.cookbook_name}::#{resource.recipe_name}"
        else
          resource_recipe = "<Dynamically Defined Resource>"
        end
        if resource_recipe != @current_recipe
          puts "Recipe: #{resource_recipe}"
          @current_recipe = resource_recipe
        end
        print "  * #{resource} action #{action}"
      end
def resource_action_start ( resource , action , notification_type = nil , notifier = nil ) if resource . cookbook_name && resource . recipe_name resource_recipe = "#{resource.cookbook_name}::#{resource.recipe_name}" else resource_recipe = "<Dynamically Defined Resource>" end if resource_recipe != @current_recipe puts "Recipe: #{resource_recipe}" @current_recipe = resource_recipe end print "  * #{resource} action #{action}" end
Called before action is executed on a resource.
Called before action is executed on a resource .
# TODO: info about notifies
resource
<not_specific>
action
<not_specific>
notification_type
<not_specific>
notifier
<not_specific>