Merge "Enable ntpdate service for centos-7"

This commit is contained in:
Jenkins 2016-08-03 05:58:01 +00:00 committed by Gerrit Code Review
commit 2272d2017b

View File

@ -243,6 +243,18 @@ class openstack_project::template (
package { 'ntp-perl':
ensure => present
}
# NOTE(pabelanger): We need to ensure ntpdate service starts on boot for
# centos-7. Currently, ntpd explicitly require ntpdate to be running before
# the sync process can happen in ntpd. As a result, if ntpdate is not
# running, ntpd will start but fail to sync because of DNS is not properly
# setup.
package { 'ntpdate':
ensure => present,
}
service { 'ntpdate':
enable => true,
require => Package['ntpdate'],
}
}
###########################################################