Puppet Class: ntp
- Defined in:
- manifests/init.pp
Summary
NTP sync configurationOverview
4 5 6 7 8 9 10 11 12 13 |
# File 'manifests/init.pp', line 4
class ntp (
Array[String] $servers = ['time1.google.com', 'time2.google.com', 'time3.google.com', 'time4.google.com']
) {
case $facts['os']['family'] {
'Archlinux': { include ntp::archlinux }
'Arch': { include ntp::archlinux }
'Debian': { include ntp::archlinux }
default: { fail("ntp module does not support ${facts['os']['family']}") }
}
}
|