Add cronjob for ntpdate

This commit is contained in:
ohrensessel 2014-06-05 21:37:50 +02:00
parent d751c18dfe
commit ba62e670c6

View file

@ -39,7 +39,7 @@ class ff_gw::sysadmin($zabbixserver = '127.0.0.1', $muninserver = '127.0.0.1', $
# then install some basic packages
package {
['vim-nox', 'git', 'etckeeper', 'pv', 'curl', 'atop',
'screen', 'tcpdump', 'rsync', 'file', 'psmisc']:
'screen', 'tcpdump', 'rsync', 'file', 'psmisc', 'ntpdate']:
ensure => installed,
}
->
@ -54,6 +54,13 @@ class ff_gw::sysadmin($zabbixserver = '127.0.0.1', $muninserver = '127.0.0.1', $
enable => false,
}
cron {
'ntpdate-debian':
command => '/usr/sbin/ntpdate-debian',
user => root,
minute => '0';
}
# user accounts
create_resources('account', $accounts)
# Sudo