chef/lib/chef/formatters/doc.rb
# Called when an assertion declared by a provider fails
Called when an assertion declared by a provider fails
Called when an assertion declared by a provider fails
def provider_requirement_failed(action, resource, exception, message)
        return unless message
        color = Chef::Config[:why_run] ? :yellow : :red
        [ message ].flatten.each do |line|
          @output.color("\n    * #{line}", color)
        end
      end
def provider_requirement_failed ( action , resource , exception , message ) return unless message color = Chef :: Config [ :why_run ] ? :yellow : :red [ message ] . flatten . each do | line | @output . color ( "\n    * #{line}" , color ) end end
Called when an assertion declared by a provider fails
Called when an assertion declared by a provider fails
action
<not_specific>
resource
<not_specific>
exception
<not_specific>
message
<not_specific>