Add ntp-perl package for RedHat platforms
Since I29a101eb9ea5c2d0da6b7762fe93366f0c0a8999 we use ntp-wait, which is part of the ntp-perl package on RedHat platforms, but included in the base ntp package for others. For consistency, add the ntp-perl package here so we can assume the utility is everywhere. I have submitted similar upstream (see Jira issue); we could revert this if it gets accepted. Change-Id: If59acfb2a950f74d8246424580be3b2bd1409ad3
This commit is contained in:
@@ -27,7 +27,6 @@ class openstack_project::template (
|
||||
###########################################################
|
||||
# Classes for all hosts
|
||||
|
||||
include ntp
|
||||
include snmpd
|
||||
include sudoers
|
||||
|
||||
@@ -231,6 +230,20 @@ class openstack_project::template (
|
||||
}
|
||||
}
|
||||
|
||||
###########################################################
|
||||
# Manage ntp
|
||||
|
||||
include '::ntp'
|
||||
|
||||
if ($::osfamily == "RedHat") {
|
||||
# Utils in ntp-perl are included in Debian's ntp package; we
|
||||
# add it here for consistency. See also
|
||||
# https://tickets.puppetlabs.com/browse/MODULES-3660
|
||||
package { 'ntp-perl':
|
||||
ensure => present
|
||||
}
|
||||
}
|
||||
|
||||
###########################################################
|
||||
# Manage python/pip
|
||||
|
||||
|
||||
Reference in New Issue
Block a user