summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp7
1 files changed, 1 insertions, 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",