mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 01:30:21 +00:00
fix key import
This commit is contained in:
parent
1a24a1c7ca
commit
b5c022a4fb
1 changed files with 6 additions and 2 deletions
|
@ -4139,8 +4139,12 @@ enabled=1
|
|||
enabled_metadata=1
|
||||
_eof
|
||||
|
||||
fetch_url="${HTTP_VAL}://${_REPO_URL}/${__PY_VERSION_REPO}/redhat/${DISTRO_MAJOR_VERSION}/${CPU_ARCH_L}/${repo_rev}/"
|
||||
__rpm_import_gpg "${fetch_url}${gpg_key}" || return 1
|
||||
Field_Separator=$IFS
|
||||
IFS=,
|
||||
for key in $gpg_key; do
|
||||
__rpm_import_gpg "$key" || return 1
|
||||
done
|
||||
IFS=$Field_Separator
|
||||
yum clean metadata || return 1
|
||||
elif [ "$repo_rev" != "latest" ]; then
|
||||
echowarn "salt.repo already exists, ignoring salt version argument."
|
||||
|
|
Loading…
Add table
Reference in a new issue