ntpclient

A module to enable easy configuration of an NTP client

MAD Hacking

hacking

8,373 downloads

8,373 latest version

4.6 quality score

Version information

  • 0.1.0 (latest)
released May 4th 2015
This version is compatible with:
  • Gentoo

Start using this module

Tags: ntp

Documentation

hacking/ntpclient — version 0.1.0 May 4th 2015

/etc/conf.d/ntp-client module for Puppet

Description

Puppet module for managing the /etc/conf.d/ntp-client file.

Example usage

class { 'ntpclient': servers => ['host1.example.com', 'host2.example.com'], }

Resulting file

/etc/conf.d/ntp-client

# This file is automatically generated by Puppet
#
# Any changes made to this file will be lost on the next automated Puppet run!

# Command to run to set the clock initially
NTPCLIENT_CMD="ntpdate"

# Options to pass to the above command
NTPCLIENT_OPTS="-s -b -u host1.example.com host2.example.com"