1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
class oci::chrony(
$time_server_host = "0.debian.pool.ntp.org"
){
if Integer($facts['os']['release']['major']) >= 11 {
# puppet-module-aboe-chrony >= 3, which is
# available on osbpo.debian.net for >= bullseye
class { '::chrony':
pools => split($time_server_host, ';'),
servers => [],
makestep_seconds => 120,
makestep_updates => -1,
log_options => 'tracking measurements statistics',
}
} else {
# puppet-module-aboe-chrony < 3
class { '::chrony':
servers => split($time_server_host, ';'),
makestep_seconds => '120',
makestep_updates => '-1',
log_options => 'tracking measurements statistics',
}
}
}
|