Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
puppet-chrony
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
linuxsupport
rpms
locmap
puppet-chrony
Commits
d89aae7c
Commit
d89aae7c
authored
1 year ago
by
Marta Vila Fernandes
Browse files
Options
Downloads
Patches
Plain Diff
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
!1
use pool.ntp.org if the host is not on the CERN network
Pipeline
#5859433
passed
1 year ago
Stage: srpm
Stage: rpm
Stage: lint
Stage: koji_scratch
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/code/manifests/params.pp
+9
-1
9 additions, 1 deletion
src/code/manifests/params.pp
with
9 additions
and
1 deletion
src/code/manifests/params.pp
+
9
−
1
View file @
d89aae7c
...
...
@@ -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'
],
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment