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

Handle CentOS / RHEL 7 gracefully #25

Closed djjudas21 closed 9 years ago

djjudas21 commented 9 years ago

Currently VMware haven't released a repo for RHEL 7 - http://packages.vmware.com/tools/esx/latest/index.html

This module either needs to take no action on RHEL 7, or it needs to set up the RHEL 6 repo and hope for the best.

Currently it sets up a repo with the URL set for RHEL 7 and breaks the yum configuration on the box.

[root@centos7 ~]# yum update
Loaded plugins: fastestmirror, langpacks
http://packages.vmware.com/tools/esx/latest/rhel7/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
djjudas21 commented 9 years ago

Any movement on this one? VMware still haven't released their RHEL7 repo. Thanks :)

razorsedge commented 9 years ago

It looks like VMware has updated it's documentation:

OSPs are provided for certain popular operating systems. If the operating system vendor/community provides open-vm-tools, then it is recommended to use open-vm-tools that are provided by vendor/community. VMware will not provide OSPs for operating system where open-vm-tools are available. To learn more about open-vm-tools, see following: http://kb.vmware.com/kb/2073803.

I will be adding a restriction to this module to not install on EL7. I hope to find the time this week to do so.

djjudas21 commented 9 years ago

Ah OK, I hadn't realised that EL7 natively provided open-vm-tools. Will your module install this? I'm keen on a module that I can include across my estate of VMs that will magically install VMware tools. I don't particularly care whether it gets it from VMware's repo or CentOS base.

razorsedge commented 9 years ago

This module will not, but I am now considering building another module that will deal with open-vm-tools on platforms that ship it.

djjudas21 commented 9 years ago

But will that mean that I have to decide which module I want to install, e.g. using a selector to choose based on OS?

razorsedge commented 9 years ago

No, it will do-the-right-thing(TM). :-)

razorsedge commented 9 years ago

Commit 7c58db8903b83cb24bcba264a936f3910512999b in branch feature/el7 should do what we need.

razorsedge commented 9 years ago

This should be fixed in razorsedge/vmwaretools version 4.8.0.