openvmtools
Version information
This version is compatible with:
- Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x
- Puppet >=5.5.8 <7.0.0
- , , , , , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'puppet-openvmtools', '2.1.0'
Learn more about managing modules with a PuppetfileDocumentation
Open Virtual Machine Tools
Table of Contents
- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with this module
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
Overview
This Puppet module manages the installation and configuration of the Open Virtual Machine Tools for VMware. VMware recommends using open-vm-tools redistributed by operating system vendors.
Module Description
open-vm-tools is the open source implementation of VMware Tools and consists of a suite of virtualization utilities that improves the functionality, administration, and management of virtual machines within a VMware environment. The primary purpose for open-vm-tools is to enable operating system vendors and/or communities and virtual appliance vendors to bundle VMware Tools into their product releases.
The benefits of bundling open-vm-tools are:
- End users get the best out-of-box experience to efficiently deploy virtual machines on VMware virtual infrastructure.
- Eliminates the need to separately install VMware Tools when open-vm-tools is bundled with the operating system because open-vm-tools is a fully-supported open source implementation of VMware Tools.
- Reduces operational expenses and virtual machine downtime because updates to open-vm-tools packages are provided with operating system maintenance updates and patches. This eliminates separate maintenance cycles for VMware Tools updates.
- No compatibility matrix check is required for open-vm-tools. Adhering to the VMware Compatibility Matrix for the guest OS release is sufficient.
- open-vm-tools bundled with the operating system provides a compact footprint optimized for each OS release.
Setup
What this module affects
- Installs the main package open-vm-tools.
- Optionally installs the desktop package open-vm-tools-desktop.
- Starts the vmtoolsd daemon.
Requirements
You need to be running a virtual machine on the VMware platform and on an operating system that ships the Open Virtual Machine Tools for this module to do anything.
Beginning with this module
It is safe for all nodes to use this declaration. Any non-VMware or unsupported system will skip installation of the tools.
include ::openvmtools
To include the desktop software, set the following parameter:
class { '::openvmtools':
with_desktop => true,
}
Usage
There is only one class and most usage will simply include the openvmtools
class.
Reference
Classes
Public Classes
openvmtools
: Installs the Open Virtual Machine Tools.
Class: openvmtools
Parameters
The following parameters are available in the ::openvmtools
class:
ensure
Ensure if present or absent. Default: present
autoupgrade
Upgrade package automatically, if there is a newer version. Default: false
desktop_package_conflicts
Boolean that determines whether the desktop conflicts includes and conflicts with the base package. Only set this if your platform is not supported or you know what you are doing. Default: auto-set, platform specific
desktop_package_name
Name of the desktop package. Only set this if your platform is not supported or you know what you are doing. Default: auto-set, platform specific
manage_epel
Boolean that determines if puppet-epel is required for packages. This should only needed for RedHat (EL) 6. Default: auto-set, platform specific
package_name
Name of the package. Only set this if your platform is not supported or you know what you are doing. Default: auto-set, platform specific
service_enable
Start service at boot. Default: true
service_ensure
Ensure if service is running or stopped. Default: running
service_hasstatus
Name of openvmtools service. Only set this if your platform is not supported or you know what you are doing. Default: auto-set, platform specific
service_name
Name of openvmtools service. Only set this if your platform is not supported or you know what you are doing. Default: auto-set, platform specific
service_pattern
Pattern to look for in the process table to determine if the daemon is running. Only set this if your platform is not supported or you know what you are doing. Default: vmtoolsd
uninstall_vmware_tools
Boolean that determines whether the conflicting VMWare Tools package should be uninstalled, if present. Default: false
with_desktop
Whether or not to install the desktop/GUI support. Default: false
Limitations
OS Support
open-vm-tools is available with these operating systems:
- CentOS 6 and later releases
- Debian 7.x and later releases
- Fedora 19 and later releases
- FreeBSD 10 and later releases
- Oracle Linux 6 and later releases
- Red Hat Enterprise Linux 6.0 and later releases
- SUSE Linux Enterprise 12 and later releases
- Ubuntu 14.04 and later LTS releases
- openSUSE 11.x and later releases
Notes
- No other VM tools (ie Operating System Specific Packages) will be supported. Use voxpupuli/vmwaretools instead.
Issues
- None
Development
Please see CONTRIBUTING.md for information on how to contribute.
Copyright (C) 2017 Vox Pupuli voxpupuli@groups.io
Licensed under the Apache License, Version 2.0.
Changelog
All notable changes to this project will be documented in this file. Each new release typically also includes the latest modulesync defaults. These should not affect the functionality of the module.
v2.1.0 (2021-07-25)
Breaking changes:
Implemented enhancements:
- Add support for Ubuntu 20.04 #45 (timdeluxe)
- Autodetect supported instead of using Hiera #41 (ekohl)
- Support Debian 10 #34 (ajurjevi)
Fixed bugs:
- Repair service management in Ubuntu 14.04 #46 (timdeluxe)
- Create /var/run/vmware directory #27 (raphink)
Closed issues:
Merged pull requests:
- Convert class parameters to puppet-strings #43 (ekohl)
- Typo fixed (line 71) #39 (kant)
- Fix regex_replace error on puppet 5 #36 (jsosic)
- Fix Ubuntu #35 (ghoneycutt)
- modulesync 3.0.0 & puppet-lint updates #31 (bastelfreak)
v2.0.1 (2020-01-25)
Closed issues:
- Publishing on the forge? #23
v2.0.0 (2020-01-17)
Breaking changes:
- Modulesync 2.7.0 and drop Puppet 4 support #15 (pillarsdotnet)
- Require at least Puppet 4, support RedHat-6 and FreeBSD, support
vgauthd
, and various other small fixes #14 (pillarsdotnet)
Implemented enhancements:
- override $supported flag #5
- Collision with existing vmware-tools #3
- CentOS 6 support through epel #2
Closed issues:
Merged pull requests:
- Add missing changelog #24 (dhoppe)
- Fix broken link. #20 (pillarsdotnet)
- Remove duplicate CONTRIBUTING.md file #18 (dhoppe)
- Drop support for Ubuntu 12.04 LTS #17 (ghoneycutt)
1.1.0 (2017-07-16)
1.0.0 (2015-04-11)
Fixed bugs:
- Service error on Ubuntu 14.04 #1
0.2.0 (2015-04-01)
0.1.0 (2015-03-31)
* This Changelog was automatically generated by github_changelog_generator
Dependencies
- puppet/epel (>=3.0.0 <4.0.0)
- puppetlabs/stdlib (>=2.3.0 <7.0.0)
- puppetlabs/yumrepo_core (>=1.0.0 <2.0.0)
Copyright (C) 2017 Vox Pupuli <voxpupuli@groups.io> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.