puppetlabs/puppet — pull request #3422 by saimonn (2014-12-17 10:08:06+00:00)
Title: Check package presence before yum erase. fixes PUP-1295

This PR ensures yum provider will check a package is installed (with rpm -q) before it tries to erase it.
It should remove noise from packages resources ensured absent on RedHat systems.