Forge Home


Disables (default) or enables VMware tools time sync.


9,294 latest version

2.5 quality score

Version information

  • 0.3.2 (latest)
  • 0.3.1
released Dec 27th 2014
This version is compatible with:
  • Puppet Enterprise 3.x
  • Puppet 3.x
  • , , , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'stjeanp-vmware_time_sync', '0.3.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add stjeanp-vmware_time_sync
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install stjeanp-vmware_time_sync --version 0.3.2

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.



stjeanp/vmware_time_sync — version 0.3.2 Dec 27th 2014


####Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with vmware_time_sync
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module


This module implements a custom fact, vmware_tools_timesync, which it uses to determine whether or not to run the command to turn the VMware tools time synchronization on or off, based on the argument supplied.

##Module Description

The vmware_time_sync module turns vmware tools time synchronization on or off based on the argument supplied. It implements a custom fact to determine whether or not to call vmware-toolbox-cmd.


###What vmware_time_sync affects

  • The virtual machine configuration on the ESX/ESXi host.

###Setup Requirements REQUIRED

  • Ensure that VMware Tools is installed and that vmware-toolbox-cmd is in /usr/bin
  • Ensure that pluginsync is set to true in your puppet.conf file.

###Beginning with vmware_time_sync

Ensure that VMware tools are installed and that vmware-toolbox-cmd is in /usr/bin. Turn on pluginsync if it's not already enabled.


The default behavior is to disable time synchronization using VMware tools, which is the best practices recommendation from VMware and RedHat.

include vmware_time_sync

If, for some reason, you need to enable it, do this.

class { 'vmware_time_sync':
  enable_sync => true,


####Class: vmware_time_sync


This module has been tested on :

  • Red Hat Enterprise Linux (RHEL) 6.5
  • CentOs 6.5

It should work on :

  • Red Hat Enterprise Linux (RHEL) 5,6,7
  • CentOs 5,6,7
  • Oracle Linux 5,6,7
  • Scientific Linux 5,6,7


Updates and tweaks are welcome.