mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Install yum-utils before doing anything else in Amazon Linux
This commit is contained in:
parent
00492df5f3
commit
5bc9fdb3f8
1 changed files with 5 additions and 1 deletions
|
@ -4089,6 +4089,10 @@ install_scientific_linux_check_services() {
|
|||
|
||||
install_amazon_linux_ami_deps() {
|
||||
|
||||
# We need to install yum-utils before doing anything else when installing on
|
||||
# Amazon Linux ECS-optimized images. See issue #974.
|
||||
yum -y install yum-utils
|
||||
|
||||
ENABLE_EPEL_CMD=""
|
||||
if [ $_DISABLE_REPOS -eq $BS_TRUE ]; then
|
||||
ENABLE_EPEL_CMD="--enablerepo=${_EPEL_REPO}"
|
||||
|
@ -4120,7 +4124,7 @@ _eof
|
|||
fi
|
||||
fi
|
||||
|
||||
__PACKAGES="PyYAML python-crypto python-msgpack python-zmq python26-ordereddict python-jinja2 python-requests yum-utils"
|
||||
__PACKAGES="PyYAML python-crypto python-msgpack python-zmq python26-ordereddict python-jinja2 python-requests"
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
yum -y install ${__PACKAGES} ${ENABLE_EPEL_CMD} || return 1
|
||||
|
|
Loading…
Add table
Reference in a new issue