craigwatson/puppet-vmwaretools — pull request #53 by thesysadm (2014-10-02 16:58:19+00:00)
Title: Try to work around the RHEL purged vs absent bug

There's a bug/feature/something in Puppet that, on RHEL/clones, the package provider code for yum doesn't correctly handle 'purged'. When 'purged' is used, the package provider attempts to remove the package on every run. See [1] [2] [3] for discussion on this. I'm unsure how PuppetLabs plans on resolving it.

Example of the bug:

Oct 2 14:42:18 devtest-vmware puppet-agent[29873]: (/Stage[main]/Vmwaretools::Install::Package/Package[open-vm-tools-desktop]/ensure) created
Oct 2 14:42:19 devtest-vmware puppet-agent[29873]: (/Stage[main]/Vmwaretools::Install::Package/Package[vmware-tools-services]/ensure) created
Oct 2 14:42:20 devtest-vmware puppet-agent[29873]: (/Stage[main]/Vmwaretools::Install::Package/Package[open-vm-dkms]/ensure) created
Oct 2 14:42:20 devtest-vmware puppet-agent[29873]: (/Stage[main]/Vmwaretools::Install::Package/Package[open-vm-tools]/ensure) created

[1] https://projects.puppetlabs.com/issues/2833
[2] https://projects.puppetlabs.com/issues/11450
[3] https://tickets.puppetlabs.com/browse/PUP-1198