From ecc52a1acd916d3d3eb1b9297bfadef7f1110b9b Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 14 Feb 2011 23:19:10 -0200 Subject: Avoiding puppet issue #775 --- manifests/init.pp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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", -- cgit v1.2.3