time
Version information
This version is compatible with:
- Puppet Enterprise >=2015.2.0
- Puppet >=4.0.0
- Various
Start using this module
Add this module to your Puppetfile:
mod 'tse-time', '1.0.1'
Learn more about managing modules with a PuppetfileDocumentation
time
####Table of Contents
- Overview
- Module Description - What the module does and why it is useful
- Usage - Example usage code with description
- Parameters
- 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.
Dependencies
- tse-winntp (>= 1.0.0)
- puppetlabs-ntp (>= 4.2.0)