From: Silvio Rhatto Date: Tue, 15 Feb 2011 01:19:10 +0000 (-0200) Subject: Avoiding puppet issue #775 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ecc52a1acd916d3d3eb1b9297bfadef7f1110b9b;p=puppet-ntp.git Avoiding puppet issue #775 --- diff --git a/manifests/init.pp b/manifests/init.pp index c04e081..09afea9 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -14,11 +14,6 @@ class timezone { ensure => "/usr/share/zoneinfo/${ntp_timezone}", require => Package["tzdata"], } - - # don't adjust time using ntpdate - cron { "ntpdate": - ensure => absent, - } } class ntp inherits timezone { @@ -73,7 +68,7 @@ class ntpdate inherits timezone { } # adjust time using ntpdate - Cron["ntpdate"] { + cron { "ntpdate": command => "/usr/sbin/ntpdate -t 5 ${ntp_pool} >> /var/log/ntpdate.log 2>&1", user => root, hour => "*/1",