mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 17:50:22 +00:00
fixing the GPG_KEY path for rhel, onedir does not need a special path for centos 7.
This commit is contained in:
parent
244e6cb858
commit
f708e36b94
1 changed files with 1 additions and 5 deletions
|
@ -4464,11 +4464,7 @@ __install_saltstack_rhel_onedir_repository() {
|
|||
# Avoid using '$releasever' variable for yum.
|
||||
# Instead, this should work correctly on all RHEL variants.
|
||||
base_url="${HTTP_VAL}://${_REPO_URL}/${_ONEDIR_DIR}/${__PY_VERSION_REPO}/redhat/${DISTRO_MAJOR_VERSION}/\$basearch/${ONEDIR_REV}/"
|
||||
if [ "${DISTRO_MAJOR_VERSION}" -eq 7 ]; then
|
||||
gpg_key="SALTSTACK-GPG-KEY.pub base/RPM-GPG-KEY-CentOS-7"
|
||||
else
|
||||
gpg_key="SALTSTACK-GPG-KEY.pub"
|
||||
fi
|
||||
gpg_key="SALTSTACK-GPG-KEY.pub"
|
||||
|
||||
gpg_key_urls=""
|
||||
for key in $gpg_key; do
|
||||
|
|
Loading…
Add table
Reference in a new issue