Skip to content

About

Puppet NTP module

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

42 Commits

Folders and files

Repository files navigation

puppet-ntp

Overview

Install, enable and configure the Network Time Protocol daemon.

  • ntp : Class to install and enable ntpd.

The module also supports changing the logging to go directly to a file instead of syslog, and creates a logrotate entry for that file (see example below).

Examples

Basic enabling of ntpd with the default servers :

include '::ntp'

Advanced example, using only hieradata :

classes:
  - '::ntp'
ntp::logfile: '/var/log/ntpd.log'
ntp::server:
  - '0.ntp.example.com'
  - '1.ntp.example.com'
  - '2.ntp.example.com'
ntp::restrict:
  - 'default kod nomodify notrap nopeer noquery'

About

Puppet NTP module

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages