mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 01:30:21 +00:00
Error out when we cannot add EPEL repository support.
This commit is contained in:
parent
8f443754e9
commit
e9eb656006
1 changed files with 3 additions and 0 deletions
|
@ -930,6 +930,9 @@ install_centos_stable_deps() {
|
|||
rpm -Uvh --force http://mirrors.kernel.org/fedora-epel/5/${EPEL_ARCH}/epel-release-5-4.noarch.rpm
|
||||
elif [ $DISTRO_MAJOR_VERSION -eq 6 ]; then
|
||||
rpm -Uvh --force http://mirrors.kernel.org/fedora-epel/6/${EPEL_ARCH}/epel-release-6-8.noarch.rpm
|
||||
else
|
||||
echoerror "Failed add EPEL repository support."
|
||||
exit 1
|
||||
fi
|
||||
yum -y update
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue