puppetlabs/puppet — pull request #2198 by doc75 (2013-12-29 19:55:42+00:00)
Title: remove warning during package installation on machine with LANG=fr_*

When installing packages on Ubuntu machine with LANG=fr_*, we have the following message for each package newly installed: "Failed to match dpkg-query line...".

This is linked to the fact that the string returned by dpkg-query for a non-existent package is in french: "Aucun paquet ne correspond à...".

This fix allow to by-pass this issue.
I have not found any internationalization capability in puppet, so my fix is a iittle bit straight forward ;-)

I cannot also replay the rspec test on my machine since it use all memory and start swapping after seeing twice the message: "/dev/mem: Permission denied".