Forge Home

ntpclient

A module to enable easy configuration of an NTP client

8,896 downloads

8,896 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

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

Add this module to your Puppetfile:

mod 'hacking-ntpclient', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add hacking-ntpclient
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install hacking-ntpclient --version 0.1.0

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.

Download
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"