voxpupuli / puppet-vmwaretools

Puppet module to manage VMware Operating System Specific Packages for VMware tools installation.
http://forge.puppetlabs.com/razorsedge/vmwaretools
Apache License 2.0
34 stars 44 forks source link

Remove 4x vmwaretools when installing 5x #27

Closed Klaas- closed 3 years ago

Klaas- commented 9 years ago

I'm trying to use your module to upgrade my existing infrastructure from vmwaretools 4x to 5x but sadly it doesn't work without removing the vmwaretools 4x explicitly first because its not recognized as an upgrade (package names changed). That's why I try to work around the problem by removing the old package with yum remove. I tried using package absent or package purged but that will lead to either not removing the packages because of dependencies or when using purged to "Package created" messages on on all next runs (https://tickets.puppetlabs.com/browse/PUP-1352). I'm using the kmod module for yum remove because the if you'd use the vmware-tools-nox it would only remove that and not the other vmware 4x packages, when removing the kmod package all others get removed because they depend on it.

I've tested it on rhel 6.

Greetings Klaas

razorsedge commented 9 years ago

Thanks for this PR. With the recent inclusion of SuSE and Ubuntu support, this PR doesn't quite cover all the platforms. Would it be possible to come up with a more generic solution?

vox-pupuli-tasks[bot] commented 3 years ago

Dear @Klaas-, thanks for the PR!

This is Vox Pupuli Tasks, your friendly Vox Pupuli Github Bot. I noticed that your pull request has CI failures. Can you please have a look at the failing CI jobs? If you need any help, you can reach out to us on our IRC channel voxpupuli on Freenode or our Slack channel voxpupuli at slack.puppet.com. You can find my sourcecode at voxpupuli/vox-pupuli-tasks