diff options
Diffstat (limited to 'lib/chef/provider/template.rb')
-rw-r--r-- | lib/chef/provider/template.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/template.rb b/lib/chef/provider/template.rb index 064f9fde74..eed65bd26a 100644 --- a/lib/chef/provider/template.rb +++ b/lib/chef/provider/template.rb @@ -38,7 +38,7 @@ class Chef super requirements.assert(:create, :create_if_missing) do |a| - a.assertion { ::File::exist?(content.template_location) } + 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! |