Bug fix: incorrect version of package detected after change in equo output

This commit is contained in:
2011-11-03 22:00:18 +00:00
parent 960f90e635
commit a88d1d86e5

View File

@@ -80,7 +80,7 @@ Puppet::Type.type(:package).provide :entropy, :parent => Puppet::Provider::Packa
package[field] = value unless !value or value.empty?
end
installed_output = equo 'match', '--quiet', '--installed', package_name
installed_output = equo 'match', '--quiet', '--verbose', '--installed', package_name
installed_output.chomp
installed_match = installed_output.match(result_format)