install ntpd
This commit is contained in:
parent
3253943fd1
commit
c1f8229023
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
class { 'ff_gw::sysadmin::software': }
|
||||
|
||||
# remove cronjob
|
||||
cron {
|
||||
'ntpdate-debian':
|
||||
ensure => absent,
|
||||
command => '/usr/sbin/ntpdate-debian',
|
||||
user => root,
|
||||
minute => '0';
|
||||
}
|
||||
# replace with a real NTP daemon
|
||||
package { 'ntp':
|
||||
ensure => present,
|
||||
}
|
||||
~>
|
||||
service { 'ntp':
|
||||
ensure => true,
|
||||
}
|
||||
|
||||
# user accounts
|
||||
create_resources('account', $accounts)
|
||||
|
|
Loading…
Reference in a new issue