hacking-ntpclient

A puppet module to enable easy configuration of an NTP client


Keywords
ntp
License
GPL-3.0
Install
puppet module install hacking-ntpclient --version 0.1.0

Documentation

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