Fix ambari-server setup failure due to PostgreSQL initdb error.
@@ -58,7 +58,7 @@ case ${ID}-${VERSION_ID} in
centos-8*)
rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
dnf -y check-update
- dnf -y install hostname diffutils curl sudo unzip wget puppet 'dnf-command(config-manager)'
+ dnf -y install glibc-langpack-en hostname diffutils curl sudo unzip wget puppet 'dnf-command(config-manager)'
# Install the module in the same way as Fedora 31 and CentOS 7 for compatibility issues.
puppet module install puppetlabs-stdlib --version 4.12.0
# Enabling the PowerTools and EPEL repositories via Puppet doesn't seem to work in some cases.
