lib/sous_vide/event_methods.rb
# Called when a resource action has been skipped b/c of a conditional.
Called when a resource action has been skipped b/c of a conditional.
Called when a resource action has been skipped b / c of a conditional .
def resource_skipped(new_resource, _action, conditional)
      return false if @processing_now.nil? || nested?(new_resource) 
      debug("Received :resource_skipped on #{@processing_now}", "(#{conditional.to_text})")
      @processing_now.guard_description = conditional.to_text
      @processing_now.status = "skipped"
      true
    end
def resource_skipped ( new_resource , _action , conditional ) return false if @processing_now . nil? || nested? ( new_resource ) debug ( "Received :resource_skipped on #{@processing_now}" , "(#{conditional.to_text})" ) @processing_now . guard_description = conditional . to_text @processing_now . status = "skipped" true end
Called when a resource action has been skipped b/c of a conditional.
Called when a resource action has been skipped b / c of a conditional .
# ignore nested resources
new_resource
<not_specific>
_action
<not_specific>
conditional
<not_specific>