install ntpd

This commit is contained in:
Martin Schütte 2014-08-20 18:18:56 +02:00
parent 3253943fd1
commit c1f8229023

View file

@ -12,12 +12,22 @@ class ff_gw::sysadmin($zabbixserver = '127.0.0.1', $muninserver = '127.0.0.1', $
# next important thing: set up apt repositories # next important thing: set up apt repositories
class { 'ff_gw::sysadmin::software': } class { 'ff_gw::sysadmin::software': }
# remove cronjob
cron { cron {
'ntpdate-debian': 'ntpdate-debian':
ensure => absent,
command => '/usr/sbin/ntpdate-debian', command => '/usr/sbin/ntpdate-debian',
user => root, user => root,
minute => '0'; minute => '0';
} }
# replace with a real NTP daemon
package { 'ntp':
ensure => present,
}
~>
service { 'ntp':
ensure => true,
}
# user accounts # user accounts
create_resources('account', $accounts) create_resources('account', $accounts)