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": {
|
"openbsd": {
|
||||||
include ntpd::openntpd
|
include ntpd::openntpd
|
||||||
}
|
}
|
||||||
|
"centos","redhat": {
|
||||||
|
if versioncmp($::operatingsystemrelease, "7") < 0 {
|
||||||
|
include ntpd::isc-ntpd
|
||||||
|
} else {
|
||||||
|
include ntpd::chrony
|
||||||
|
}
|
||||||
|
}
|
||||||
default: {
|
default: {
|
||||||
include ntpd::isc-ntpd
|
include ntpd::isc-ntpd
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue