Compare commits

...

1 Commits

  1. 7
      install.sh

7
install.sh

@ -1,7 +1,7 @@
#!/usr/bin/env bash
beginswith() { case $2 in "$1"*) true;; *) false;; esac; }
function usage()
{
cat << HEREDOC
@ -12,7 +12,7 @@ function usage()
-h, --help show this help message and exit
-v, --version VERSION install a specific puppet-agent version
-c, --collection COLLECTION install a specific puppet-agent collection (e.g. puppet7)
-n, --noop do a dry run, do not change any files
-n, --noop do a dry run, do not change any files
--cleanup remove the puppetlabs repository after installation finishes
HEREDOC
@ -807,7 +807,7 @@ info "Downloading Puppet $version for ${platform}..."
case $platform in
"SLES")
info "SLES platform! Lets get you an RPM..."
if [[ $PT__noop != true ]]; then
for key in "puppet" "puppet-20250406"; do
gpg_key="${tmp_dir}/RPM-GPG-KEY-${key}"
@ -884,6 +884,7 @@ case $platform in
"17.04") deb_codename="zesty";;
"18.04") deb_codename="bionic";;
"20.04") deb_codename="focal";;
"22.04") deb_codename="focal";;
esac
filetype="deb"
filename="${collection}-release-${deb_codename}.deb"

Loading…
Cancel
Save