mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
puppet: Switch from ntp to chrony.
Chrony is the recommended time server for Ubuntu since 18.04[1], and is the default on Redhat; it is more accurate, and has lower-memory usage, than ntp, which is only getting best-effort security maintenance. See: - https://wiki.ubuntu.com/BionicBeaver/ReleaseNotes#Chrony - https://chrony.tuxfamily.org/comparison.html - https://engineering.fb.com/2020/03/18/production-engineering/ntp-service/
This commit is contained in:
committed by
Tim Abbott
parent
b67288db67
commit
4d4c320a07
@@ -29,7 +29,7 @@ class zulip::profile::base {
|
||||
# Used to read /etc/zulip/zulip.conf for `zulipconf` Puppet function
|
||||
'crudini',
|
||||
# Accurate time is essential
|
||||
'ntp',
|
||||
'chrony',
|
||||
# Used for tools like sponge
|
||||
'moreutils',
|
||||
# Nagios monitoring plugins
|
||||
@@ -49,7 +49,7 @@ class zulip::profile::base {
|
||||
'curl',
|
||||
'jq',
|
||||
'crudini',
|
||||
'ntp',
|
||||
'chrony',
|
||||
'moreutils',
|
||||
'nmap-ncat',
|
||||
'nagios-plugins', # there is no dummy package on CentOS 7
|
||||
@@ -60,6 +60,7 @@ class zulip::profile::base {
|
||||
fail('osfamily not supported')
|
||||
}
|
||||
}
|
||||
package { 'ntp': ensure => 'purged', before => Package['chrony'] }
|
||||
package { $base_packages: ensure => 'installed' }
|
||||
|
||||
group { 'zulip':
|
||||
|
||||
Reference in New Issue
Block a user