ntpd: Use chrony instead of isc-ntpd on CentOS 7.
This commit is contained in:
parent
f541351306
commit
0b7aa965cf
1 changed files with 7 additions and 0 deletions
|
@ -40,6 +40,13 @@ class ntpd {
|
|||
"openbsd": {
|
||||
include ntpd::openntpd
|
||||
}
|
||||
"centos","redhat": {
|
||||
if versioncmp($::operatingsystemrelease, "7") < 0 {
|
||||
include ntpd::isc-ntpd
|
||||
} else {
|
||||
include ntpd::chrony
|
||||
}
|
||||
}
|
||||
default: {
|
||||
include ntpd::isc-ntpd
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue