Skip to content
Snippets Groups Projects
Commit d89aae7c authored by Marta Vila Fernandes's avatar Marta Vila Fernandes :game_die:
Browse files

use pool.ntp.org if the host is not on the CERN network

parent 57ed947b
No related branches found
No related tags found
1 merge request!1use pool.ntp.org if the host is not on the CERN network
Pipeline #5859433 passed
......@@ -60,7 +60,15 @@ class chrony::params {
}
$domain = lookup({"name" => "cern_network_domain", "default_value" => 'default'})
if $domain == 'tn' {
if $domain == 'default' {
$servers = {
'0.pool.ntp.org' => ['iburst'],
'1.pool.ntp.org' => ['iburst'],
'2.pool.ntp.org' => ['iburst'],
'3.pool.ntp.org' => ['iburst'],
}
}
elsif $domain == 'tn' {
$servers = {
'ip-time-3.cern.ch' => ['iburst'],
'ip-time-4.cern.ch' => ['iburst'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment