Add cronjob for ntpdate
This commit is contained in:
parent
d751c18dfe
commit
ba62e670c6
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue