saltstack / salt-bootstrap

Generic Salt Bootstrap Script
Other
929 stars 547 forks source link

[BUG] Bootstrap script doesn't enforce version argument. #1958

Open grzegorz-gn opened 10 months ago

grzegorz-gn commented 10 months ago

./bootstrap-salt.sh -v ./bootstrap-salt.sh -- Version 2023.07.25

SALT installation curl -o bootstrap-salt.sh -L https://bootstrap.saltproject.io

chmod +x bootstrap-salt.sh

./bootstrap-salt.sh stable

Expected result: It should install the specified version - stable

darkpixel commented 9 months ago

Just tried sh bootstrap-salt.sh onedir 3006.3 on a CentOS box and it finished up with no errors, but it installed 3006.1 from the yum repo and not 3006.3 using the onedir install as I specified.

grzegorz-gn commented 4 months ago

Just tried sh bootstrap-salt.sh onedir 3006.3 on a CentOS box and it finished up with no errors, but it installed 3006.1 from the yum repo and not 3006.3 using the onedir install as I specified.

On AlmaLinux 9.2 it is always latest version. Tested also on 3006.6 version.