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