Skip to content

Commit

Permalink
Merge pull request #532 from GabrielNagy/MODULES-10897/update-gpg-key-v2
Browse files Browse the repository at this point in the history
(MODULES-10897) Fix GPG key typo
  • Loading branch information
mihaibuzgau authored Jan 13, 2021
2 parents 8785968 + 277bf6a commit ba81139
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tasks/install_shell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -513,10 +513,12 @@ info "Downloading Puppet $version for ${platform}..."
case $platform in
"SLES")
info "SLES platform! Lets get you an RPM..."
gpg_key="${tmp_dir}/RPM-GPG-KEY-puppet-20250406"
do_download "https://yum.puppet.com/GPG-KEY-puppet-20250406" "$gpg_key"
rpm --import "$gpg_key"
rm -f "$gpg_key"
for key in "puppet" "puppet-20250406"; do
gpg_key="${tmp_dir}/RPM-GPG-KEY-${key}"
do_download "https://yum.puppet.com/RPM-GPG-KEY-${key}" "$gpg_key"
rpm --import "$gpg_key"
rm -f "$gpg_key"
done
filetype="noarch.rpm"
filename="${collection}-release-sles-${platform_version}.noarch.rpm"
download_url="${yum_source}/${filename}"
Expand Down

0 comments on commit ba81139

Please sign in to comment.