# File lib/chef/provider/template.rb, line 38 def define_resource_requirements super requirements.assert(:create, :create_if_missing) do |a| a.assertion { ::File::exist?(template_location) } a.failure_message "Template source #{template_location} could not be found." a.whyrun "Template source #{template_location} does not exist. Assuming it would have been created." a.block_action! end end