summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 871eaec..c04e081 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -9,7 +9,7 @@ class timezone {
# the needed packages
package { "tzdata": ensure => installed, }
- # adjusts timezone to brasilian time!
+ # adjust localtime
file { "/etc/localtime":
ensure => "/usr/share/zoneinfo/${ntp_timezone}",
require => Package["tzdata"],
@@ -74,7 +74,7 @@ class ntpdate inherits timezone {
# adjust time using ntpdate
Cron["ntpdate"] {
- command => "/usr/sbin/ntpdate -t 5 ${ntp_pool} >> /var/log/ntpdate.log",
+ command => "/usr/sbin/ntpdate -t 5 ${ntp_pool} >> /var/log/ntpdate.log 2>&1",
user => root,
hour => "*/1",
minute => "10",