diff --git a/lib/chef-helpers/has_source.rb b/lib/chef-helpers/has_source.rb index dccac8a..dd58410 100644 --- a/lib/chef-helpers/has_source.rb +++ b/lib/chef-helpers/has_source.rb @@ -17,7 +17,7 @@ def has_source?(source, segment, cookbook=nil) cookbook ||= cookbook_name begin run_context.cookbook_collection[cookbook]. - preferred_filename_on_disk_location(run_context.node, segment, src) + preferred_filename_on_disk_location(run_context.node, segment, source) rescue Chef::Exceptions::FileNotFound nil end diff --git a/lib/chef-helpers/version.rb b/lib/chef-helpers/version.rb index 2234913..8dc0862 100644 --- a/lib/chef-helpers/version.rb +++ b/lib/chef-helpers/version.rb @@ -1,3 +1,3 @@ module ChefHelpers - VERSION = "0.0.5" + VERSION = "0.0.6" end