time

Wrapper module that uses windows and *nix specific modules to set time universally

Puppet Labs TSE Team

tse

14,374 downloads

14,298 latest version

5.0 quality score

Version information

  • 1.0.1 (latest)
  • 1.0.0
released Oct 5th 2016
This version is compatible with:
  • Puppet Enterprise >=2015.2.0
  • Puppet >=4.0.0
  • Various

Start using this module

Documentation

tse/time — version 1.0.1 Oct 5th 2016

time

####Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Usage - Example usage code with description
  4. Parameters
  5. Limitations - OS compatibility, etc.

##Overview

This module is designed as a wrapper for two modules: one that manages the Windows time servers, while the other is the standard Puppet NTP module for *nix systems.

##Module Description

This module requires the winntp and ntp modules that are found at their appropriate links.

##Usage

###Basic OS default example In this example the windows/*nix servers will ensure that time syncronization is occuring to their default servers:

  include 'time'

###Example of setting the time servers to two custom addresses In this example the two servers that are passed as variables will be set on all servers

  class { 'time':
    servers => ['time.nist.gov', 'north-america.pool.ntp.org'],
  }

##Parameters

The following parameters are available in the ::time class:

###servers (optional) Specifies the time servers to be set.
Valid Input: Array of strings

##Limitations The module is compatiable with Linux and Windows machines.