# File lib/chef/provider/package/easy_install.rb, line 86 def candidate_version return @candidate_version if @candidate_version # do a dry run to get the latest version result = shell_out!("#{easy_install_binary_path} -n #{@new_resource.package_name}", :returns=>[0,1]) @candidate_version = result.stdout[/(.*)Best match: (.*) (.*)$/, 3] @candidate_version end