Class ntp::ntp
In: /tmp/puppet/modules/ntp/manifests/init.pp
Parent:

Resources

Resources

Cron[ntpd]
   command => "/usr/sbin/ntpd -q -u ntp:ntp"
   user => "root"
   minute => 15
   require => [Package["ntp"], File["/etc/ntp.conf"]]

GuideSection 3.10.2.1.2 Configure network protocol

Exec["ntp initial clock set"]
   subscribe => File["/etc/ntp.conf"]
   command => "/usr/sbin/ntpd -g -q -u ntp:ntp"
   refreshonly => true
   timeout => "-1"

Set the clock whenever ntp.conf is changed, and allow large clock changes

File["/etc/ntp.conf"]
   owner => root
   group => root
   mode => 644
   content => template("ntp/ntp.conf.erb")
   require => Package["ntp"]

GuideSection 3.10.2.1.1

Package["ntp"]
   ensure => latest
   name => "ntp"

[Validate]