From ef6bdca88f43e600c04503166d6dd048efd09b79 Mon Sep 17 00:00:00 2001 From: Rockstar04 Date: Fri, 31 Jul 2015 09:40:46 -0500 Subject: [PATCH] Implement #95 --- providers/pear.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/pear.rb b/providers/pear.rb index 50e2d88d1..abef4dfc8 100644 --- a/providers/pear.rb +++ b/providers/pear.rb @@ -131,7 +131,7 @@ def candidate_version candidate_version_cmd = "#{@bin} -d " candidate_version_cmd << "preferred_state=#{can_haz(@new_resource, 'preferred_state')}" candidate_version_cmd << " search#{expand_channel(can_haz(@new_resource, 'channel'))}" - candidate_version_cmd << "#{@new_resource.package_name}" + candidate_version_cmd << " #{@new_resource.package_name}" p = shell_out(candidate_version_cmd) response = nil response = grep_for_version(p.stdout, @new_resource.package_name) if p.stdout =~ /\.?Matched packages/i