File tree Expand file tree Collapse file tree 5 files changed +28
-10
lines changed Expand file tree Collapse file tree 5 files changed +28
-10
lines changed Original file line number Diff line number Diff line change 1+ # v2023.08.03
2+
3+ ## What's Changed
4+
5+ - Set RootDir depending on Salt Version by @twangboy in https://github.com/saltstack/salt-bootstrap/pull/1952
6+ - Bump to ` certifi==2023.07.22 ` due to https://github.com/advisories/GHSA-xqr8-7jwr-rhp7 by @s0undt3ch in https://github.com/saltstack/salt-bootstrap/pull/1954
7+ - Update windows commands to support TLS1.2 by @twangboy in https://github.com/saltstack/salt-bootstrap/pull/1956
8+
9+ ** Full Changelog** : https://github.com/saltstack/salt-bootstrap/compare/v2023.07.25...v2023.08.03
10+
111# v2023.07.25
212
313## What's Changed
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ sum** of the downloaded ``bootstrap-salt.sh`` file.
3232
3333The SHA256 sum of the ``bootstrap-salt.sh `` file, per release, is:
3434
35+ - 2023.07.25: ``eaaaadaed40fe2e791d59a9e48f24449428a35ca61782d9139f1272c05524323 ``
3536- 2023.06.28: ``f45f5da8abee27ef385131f5cfa9382d3a15863d0a05688a0404d2f057b27776 ``
3637- 2023.04.26: ``516fa9cc2e258cb8484ff360b9674b46918f657985c21ca9301e42a3dd263d60 ``
3738- 2023.04.21: ``e364428aa7a25f8e2c5e18e36e222351724c6cf35a1d57158f3357cde1e0a0f0 ``
@@ -399,18 +400,18 @@ Install on Windows
399400
400401Using ``PowerShell `` to install latest stable version:
401402
402- .. code :: console
403+ .. code :: powershell
403404
404- Invoke-WebRequest -Uri https://winbootstrap.saltproject.io -OutFile $env:TEMP\bootstrap-salt.ps1
405- Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
406- & $env:TEMP\bootstrap-salt.ps1
407- Set-ExecutionPolicy -ExecutionPolicy Undefined -Scope CurrentUser
405+ [ System.Net.ServicePointManager ]::SecurityProtocol = [ System.Net.SecurityProtocolType ] ' Tls12 '
406+ Invoke-WebRequest - Uri https: // winbootstrap.saltproject.io - OutFile " $ env: TEMP \bootstrap-salt.ps1 "
407+ Set-ExecutionPolicy - ExecutionPolicy RemoteSigned - Scope CurrentUser
408+ & " $ env: TEMP \bootstrap-salt.ps1 "
408409
409410 Display information about the install script parameters:
410411
411- .. code :: console
412+ .. code :: powershell
412413
413- help $env:TEMP\bootstrap-salt.ps1 -Detailed
414+ Get-Help $env: TEMP \bootstrap- salt.ps1 - Detailed
414415
415416 Using ``cygwin `` to install latest stable version:
416417
Original file line number Diff line number Diff line change @@ -353,7 +353,14 @@ if ($RunService.ToLower() -eq "true") {
353353
354354$ConfiguredAnything = $False
355355
356- $RootDir = " C:\salt"
356+ # Detect older version of Salt to determing default RootDir
357+ if ($majorVersion -lt 3004 ) {
358+ $RootDir = " $env: SystemDrive `:\salt"
359+ } else {
360+ $RootDir = " $env: ProgramData \Salt Project\Salt"
361+ }
362+
363+ # Check for existing installation where RootDir is stored in the registry
357364$SaltRegKey = " HKLM:\SOFTWARE\Salt Project\Salt"
358365if (Test-Path - Path $SaltRegKey ) {
359366 if ($null -ne (Get-ItemProperty $SaltRegKey ).root_dir) {
Original file line number Diff line number Diff line change 2323# ======================================================================================================================
2424set -o nounset # Treat unset variables as an error
2525
26- __ScriptVersion=" 2023.07.25 "
26+ __ScriptVersion=" 2023.08.03 "
2727__ScriptName=" bootstrap-salt.sh"
2828
2929__ScriptFullName=" $0 "
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ botocore==1.29.110
1212 # via
1313 # boto3
1414 # s3transfer
15- certifi==2022.12.7
15+ certifi==2023.07.22
1616 # via requests
1717cfgv==3.3.1
1818 # via pre-commit
You can’t perform that action at this time.
0 commit comments