install ntpd
This commit is contained in:
parent
3253943fd1
commit
c1f8229023
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue