switched to chrony from ntpd
Dieser Commit ist enthalten in:
Ursprung
c73443bbd6
Commit
3cc550849c
4 geänderte Dateien mit 22 neuen und 8 gelöschten Zeilen
12
.editorconfig
Normale Datei
12
.editorconfig
Normale Datei
|
@ -0,0 +1,12 @@
|
||||||
|
# EditorConfig is awesome: https://EditorConfig.org
|
||||||
|
|
||||||
|
# top-most EditorConfig file
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
||||||
|
end_of_line = lf
|
||||||
|
charset = utf-8
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = true
|
|
@ -1,5 +1,6 @@
|
||||||
forge 'forge.puppetlabs.com'
|
forge 'forge.puppetlabs.com'
|
||||||
|
|
||||||
# Forge Modules
|
# Forge Modules
|
||||||
mod 'puppetlabs/ntp', '4.1.0'
|
mod 'puppet-chrony', '3.0.0'
|
||||||
mod 'puppetlabs/stdlib'
|
mod 'puppetlabs/stdlib'
|
||||||
|
mod 'puppet-systemd', '8.1.0'
|
||||||
|
|
|
@ -1,9 +1,3 @@
|
||||||
---
|
---
|
||||||
classes:
|
classes:
|
||||||
- 'profile::base'
|
- 'profile::base'
|
||||||
|
|
||||||
ntp::servers:
|
|
||||||
- ptbtime1.ptb.de
|
|
||||||
- ptbtime2.ptb.de
|
|
||||||
- ptbtime3.ptb.de
|
|
||||||
- ptbtime4.ptb.de
|
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
class profile::base {
|
class profile::base {
|
||||||
class { '::ntp': }
|
class { '::chrony':
|
||||||
|
servers => {
|
||||||
|
"ptbtime1.ptb.de"=>["iburst"],
|
||||||
|
"ptbtime2.ptb.de"=>["iburst"],
|
||||||
|
"ptbtime3.ptb.de"=>["iburst"],
|
||||||
|
"ptbtime4.ptb.de"=>["iburst"],
|
||||||
|
},
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
In neuem Issue referenzieren