This module manages the installation and upgrade of VMware Tools via the source code tarballs distributed by VMware.
This module is designed to replace both the OSP packages provided by VMware's repositories and also the open-vm-tools
package. The module is O/S independent (tested on Ubuntu and Red Hat systems).
The tarballs are transferred to the target by either HTTP download or Puppet filebucket (the default mechanism), and then uncompressed and installed via the archive's Perl installation script.
Upgrading of currently installed VMware Tools packages is also supported - the module obtains the currently-installed VMware Tools version via a custom fact, and only deploys the tarball if a version mismatch occurs or if VMware Tools is not installed on the target system.
vmwaretools
fact-d
flag to accept all default answers).vmwaretools_version
custom fact distributed with this module. If the module cannot access the fact, the Puppet run will fail.To accept default class parameters:
include vmwaretools
The source distribution mechanism can be customised by declaring the module with archive_url
and archive_md5
parameters (default is to use Puppet filebuckets).
To specify a non-default version, working directory and HTTP URL (other variables can be viewed and/or modified in manifests/init.pp
):
class { 'vmwaretools':
version => '8.6.5-621624',
working_dir => '/tmp/vmwaretools',
archive_url => 'http://server.local/my/dir',
archive_md5 => '9df56c317ecf466f954d91f6c5ce8a6f',
}
To stop vmwaretools
from trying to install the development packages, Perl package, or curl package use the following paramters to disable their management with this module:
manage_dev_pkgs
set to false to prevent development packages being managedmanage_perl_pkgs
set to false to prevent Perl packages being managedmanage_curl_pkgs
set to false to prevent curl packages being managedvmwaretools_version
esx_version
dmidecode
, thanks to François Deppierraz for the pull request!vmwaretools::install::exec
exec
commands run by the module.vmwaretools::install::package
yum
provider, the OSP/open-source packages are only marked as absent
, not purged
.vmwaretools::install::archive
vmwaretools::params
vmwaretools::config_tools
vmware-config-tools.pl -d
if the vmci.ko
module doesn't exist for the running kernelvmwaretools::timesync