mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Install Oracle's EPEL repo on Oracle Linux 7 and 8.
This commit is contained in:
parent
f741160d13
commit
b7bd0f47f3
1 changed files with 9 additions and 0 deletions
|
@ -5287,6 +5287,15 @@ install_red_hat_enterprise_workstation_testing_post() {
|
|||
# Oracle Linux Install Functions
|
||||
#
|
||||
install_oracle_linux_stable_deps() {
|
||||
# Install Oracle's EPEL.
|
||||
if [ ${_EPEL_REPOS_INSTALLED} -eq $BS_FALSE ]; then
|
||||
_EPEL_REPO=oracle-epel-release-el${DISTRO_MAJOR_VERSION}
|
||||
if ! rpm -q "${_EPEL_REPO}" > /dev/null; then
|
||||
__yum_install_noinput "${_EPEL_REPO}"
|
||||
fi
|
||||
_EPEL_REPOS_INSTALLED=$BS_TRUE
|
||||
fi
|
||||
|
||||
install_centos_stable_deps || return 1
|
||||
return 0
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue