diff options
author | Lamont Granquist <lamont@opscode.com> | 2013-03-20 14:41:32 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@opscode.com> | 2013-03-20 14:41:32 -0700 |
commit | 0e94bb48a688e7bb6b5488cb583af470d18acdda (patch) | |
tree | 14ddbb5ceb61dfe962f723bd4fb02227d4aa4cdf /lib/chef/provider/template.rb | |
parent | 04953a806b2b1bbb47d1b9f786e1b25c3d4d9ccc (diff) | |
download | chef-0e94bb48a688e7bb6b5488cb583af470d18acdda.tar.gz |
standardizing on exists?
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! |