mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
Fixes error finding python-jinja2 in RHEL 7
The installer prints the following on RHEL 7 when the server optional package is not enabled: * INFO: Testing if packages usually on the optionals repository are available: * INFO: - python-jinja2 * ERROR: Failed to find an installable 'python-jinja2' package. The optional repository or its subscription might be missing. * INFO: Sleeping 10 seconds while waiting for the optional repository subscription to be externally configured This change fixes the name of the server-optional repo to be the correct name. The command `sudo subscription-manager repos --list` displays all available repos and their names.
This commit is contained in:
parent
fdfef04ad3
commit
5b4d5857ce
1 changed files with 1 additions and 1 deletions
|
@ -3189,7 +3189,7 @@ __test_rhel_optionals_packages() {
|
|||
yum list installed yum-utils > /dev/null 2>&1 || yum -y install yum-utils --enablerepo=${_EPEL_REPO} || return 1
|
||||
|
||||
if [ "$DISTRO_MAJOR_VERSION" -ge 7 ]; then
|
||||
yum-config-manager --enable \*server-optional || return 1
|
||||
yum-config-manager --enable \*server-optional-rpms || return 1
|
||||
fi
|
||||
|
||||
if [ "$DISTRO_MAJOR_VERSION" -ge 6 ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue