craigwatson / puppet-vmwaretools

Puppet module for non-OSP VMware Tools Installation
http://forge.puppetlabs.com/CraigWatson1987/vmwaretools
Apache License 2.0
27 stars 40 forks source link

Try to work around the RHEL purged vs absent bug #53

Closed ITestInProd closed 9 years ago

ITestInProd commented 9 years ago

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

craigwatson commented 9 years ago

Thanks, much appreciated :)