class ChefCLI::Policyfile::RemoteLockFetcher

def errors

Returns:
  • (Array) - A list of errors found
def errors
  error_messages = []
  [:remote].each do |key|
    error_messages << "include_policy for #{name} is missing key #{key}" unless source_options[key]
  end
  error_messages
end