Skip to content

Commit 8df6404

Browse files
committed
Merge develop into stable for v2023.08.03 release
2 parents 3d95a10 + aca7a46 commit 8df6404

File tree

5 files changed

+28
-10
lines changed

5 files changed

+28
-10
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
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

README.rst

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ sum** of the downloaded ``bootstrap-salt.sh`` file.
3232

3333
The 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

400401
Using ``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

bootstrap-salt.ps1

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff 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"
358365
if (Test-Path -Path $SaltRegKey) {
359366
if ($null -ne (Get-ItemProperty $SaltRegKey).root_dir) {

bootstrap-salt.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#======================================================================================================================
2424
set -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"

requirements/release.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
1717
cfgv==3.3.1
1818
# via pre-commit

0 commit comments

Comments
 (0)