Skip to content

Commit 40e9184

Browse files
authored
Merge pull request #2052 from dmurphy18/fix_bt2049
Updated URLs in README, and fix deps download issue on RedHat family
2 parents 6ac1dcd + 13e00e0 commit 40e9184

File tree

6 files changed

+123
-77
lines changed

6 files changed

+123
-77
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,21 @@ jobs:
180180

181181

182182

183+
debian-12:
184+
name: Debian 12
185+
if: github.event_name == 'push' || needs.collect-changed-files.outputs.run-tests == 'true'
186+
uses: ./.github/workflows/test-linux.yml
187+
needs:
188+
- lint
189+
- generate-actions-workflow
190+
with:
191+
distro-slug: debian-12
192+
display-name: Debian 12
193+
container-slug: systemd-debian-12
194+
timeout: 20
195+
instances: '["stable-3007", "onedir-3007", "stable-3007-1", "latest", "default"]'
196+
197+
183198
photon-5:
184199
name: Photon OS 5
185200
if: github.event_name == 'push' || needs.collect-changed-files.outputs.run-tests == 'true'
@@ -237,7 +252,7 @@ jobs:
237252
display-name: Ubuntu 22.04
238253
container-slug: systemd-ubuntu-22.04
239254
timeout: 20
240-
instances: '["stable-3006", "onedir-3006", "stable-3006-8", "stable-3007", "onedir-3007", "stable-3007-1", "git-master", "latest", "default"]'
255+
instances: '["stable-3006", "git-3006", "onedir-3006", "stable-3006-8", "stable-3007", "git-3007", "onedir-3007", "stable-3007-1", "git-master", "latest", "default"]'
241256

242257

243258
set-pipeline-exit-status:
@@ -252,6 +267,7 @@ jobs:
252267
- macos-13
253268
- macos-14
254269
- windows-2022
270+
- debian-12
255271
- photon-5
256272
- rockylinux-8
257273
- rockylinux-9

.github/workflows/templates/generate.py

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
# "ubuntu-2004",
1919
# "ubuntu-2404",
2020
LINUX_DISTROS = [
21+
"debian-12",
2122
"photon-5",
2223
"rockylinux-8",
2324
"rockylinux-9",
@@ -38,15 +39,14 @@
3839
# will add these when they become available with systemd
3940
# "amazonlinux-2",
4041
# "amazonlinux-2023",
41-
# "centos-stream9",
4242
# "debian-11",
43-
# "debian-12",
4443
# "debian-13",
4544
# "fedora-40",
4645
# "photon-4",
4746
# "ubuntu-2004",
4847
# "ubuntu-2404",
4948
STABLE_DISTROS = [
49+
"debian-12",
5050
"photon-5",
5151
"rockylinux-8",
5252
"rockylinux-9",
@@ -58,13 +58,13 @@
5858
# "amazonlinux-2",
5959
# "amazonlinux-2023",
6060
# "debian-11",
61-
# "debian-12",
6261
# "debian-13",
6362
# "fedora-40",
6463
# "photon-4",
6564
# "ubuntu-2004",
6665
# "ubuntu-2404",
6766
ONEDIR_DISTROS = [
67+
"debian-12",
6868
"photon-5",
6969
"rockylinux-8",
7070
"rockylinux-9",
@@ -75,12 +75,12 @@
7575
# will add these when they become available with systemd
7676
# "amazonlinux-2",
7777
# "amazonlinux-2023",
78-
# "debian-12",
7978
# "photon-4",
8079
# "photon-5",
81-
# "rockylinux-9",
80+
# "rockylinux-8",
8281
# "ubuntu-2404",
8382
ONEDIR_RC_DISTROS = [
83+
"debian-12",
8484
"photon-5",
8585
"rockylinux-9",
8686
"ubuntu-2204",
@@ -97,6 +97,7 @@
9797
"photon-5",
9898
]
9999

100+
# "ubuntu-2204",
100101
BLACKLIST_GIT_3006 = [
101102
"amazonlinux-2",
102103
"amazonlinux-2023",
@@ -107,10 +108,10 @@
107108
"photon-5",
108109
"rockylinux-9",
109110
"ubuntu-2004",
110-
"ubuntu-2204",
111111
"ubuntu-2404",
112112
]
113113

114+
# "ubuntu-2204",
114115
BLACKLIST_GIT_3007 = [
115116
"amazonlinux-2",
116117
"amazonlinux-2023",
@@ -122,13 +123,16 @@
122123
"photon-5",
123124
"rockylinux-9",
124125
"ubuntu-2004",
125-
"ubuntu-2204",
126126
"ubuntu-2404",
127127
]
128128

129129
BLACKLIST_GIT_MASTER = [
130130
"amazonlinux-2",
131131
"amazonlinux-2023",
132+
"debian-11",
133+
"debian-12",
134+
"debian-13",
135+
"fedora-40",
132136
"photon-4",
133137
"photon-5",
134138
"rockylinux-9",

README.rst

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,9 @@ If you're looking for a *one-liner* to install Salt, please scroll to the bottom
5959
instructions for `Installing via an Insecure One-Liner`_.
6060

6161
There are also .sha256 files for verifying against in the repo for the stable branch. You can also
62-
get the correct sha256 sum for the stable release from https://bootstrap.saltproject.io/sha256 and
63-
https://winbootstrap.saltproject.io/sha256
62+
get the correct sha256 sum for the stable release from
63+
https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh.sha256 and
64+
https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.ps1.sha256
6465

6566
Contributing
6667
------------
@@ -86,9 +87,9 @@ To view the latest options and descriptions for ``salt-bootstrap``, use ``-h`` a
8687
- stable Install latest stable release. This is the default
8788
install type
8889
- stable [branch] Install latest version on a branch. Only supported
89-
for packages available at repo.saltproject.io
90+
for packages available at packages.broadcom.com
9091
- stable [version] Install a specific version. Only supported for
91-
packages available at repo.saltproject.io
92+
packages available at packages.broadcom.com
9293
To pin a 3xxx minor version, specify it as 3xxx.0
9394
- testing RHEL-family specific: configure EPEL testing repo
9495
- git Install from the head of the master branch
@@ -171,8 +172,8 @@ To view the latest options and descriptions for ``salt-bootstrap``, use ``-h`` a
171172
on the system.
172173
-R Specify a custom repository URL. Assumes the custom repository URL
173174
points to a repository that mirrors Salt packages located at
174-
repo.saltproject.io. The option passed with -R replaces the
175-
"repo.saltproject.io". If -R is passed, -r is also set. Currently only
175+
packages.broadcom.com. The option passed with -R replaces the
176+
"packages.broadcom.com". If -R is passed, -r is also set. Currently only
176177
works on CentOS/RHEL and Debian based distributions.
177178
-J Replace the Master config file with data passed in as a JSON string. If
178179
a Master config file is found, a reasonable effort will be made to save
@@ -208,51 +209,51 @@ If you want to install a package of a specific release version, from the Salt Pr
208209

209210
.. code:: console
210211
211-
curl -o bootstrap-salt.sh -L https://bootstrap.saltproject.io
212+
curl -o bootstrap-salt.sh -L https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh
212213
sudo sh bootstrap-salt.sh -P stable 3006.1
213214
214215
If you want to install a specific release version, based on the Git tags:
215216

216217
.. code:: console
217218
218-
curl -o bootstrap-salt.sh -L https://bootstrap.saltproject.io
219+
curl -o bootstrap-salt.sh -L https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh
219220
sudo sh bootstrap-salt.sh git v3006.1
220221
221222
Using ``curl`` to install latest development version from GitHub:
222223

223224
.. code:: console
224225
225-
curl -o bootstrap-salt.sh -L https://bootstrap.saltproject.io
226+
curl -o bootstrap-salt.sh -L https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh
226227
sudo sh bootstrap-salt.sh git master
227228
228229
To install a specific branch from a Git fork:
229230

230231
.. code:: console
231232
232-
curl -o bootstrap-salt.sh -L https://bootstrap.saltproject.io
233+
curl -o bootstrap-salt.sh -L https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh
233234
sudo sh bootstrap-salt.sh -g https://github.com/myuser/salt.git git mybranch
234235
235236
If all you want is to install a ``salt-master`` using latest Git:
236237

237238
.. code:: console
238239
239-
curl -o bootstrap-salt.sh -L https://bootstrap.saltproject.io
240+
curl -o bootstrap-salt.sh -L https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh
240241
sudo sh bootstrap-salt.sh -M -N git master
241242
242243
If your host has Internet access only via HTTP proxy, from the Salt Project repo:
243244

244245
.. code:: console
245246
246247
PROXY='http://user:[email protected]:3128'
247-
curl -o bootstrap-salt.sh -L -x "$PROXY" https://bootstrap.saltproject.io
248+
curl -o bootstrap-salt.sh -L -x "$PROXY" https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh
248249
sudo sh bootstrap-salt.sh -P -H "$PROXY" stable
249250
250251
If your host has Internet access only via HTTP proxy, installing via Git:
251252

252253
.. code:: console
253254
254255
PROXY='http://user:[email protected]:3128'
255-
curl -o bootstrap-salt.sh -L -x "$PROXY" https://bootstrap.saltproject.io
256+
curl -o bootstrap-salt.sh -L -x "$PROXY" https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh
256257
sudo sh bootstrap-salt.sh -H "$PROXY" git
257258
258259
@@ -263,22 +264,22 @@ Using ``wget`` to install your distribution's stable packages:
263264

264265
.. code:: console
265266
266-
wget -O bootstrap-salt.sh https://bootstrap.saltproject.io
267+
wget -O bootstrap-salt.sh https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh
267268
sudo sh bootstrap-salt.sh
268269
269270
Installing a specific version from git using ``wget``:
270271

271272
.. code:: console
272273
273-
wget -O bootstrap-salt.sh https://bootstrap.saltproject.io
274-
sudo sh bootstrap-salt.sh git v3004.1
274+
wget -O bootstrap-salt.sh https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh
275+
sudo sh bootstrap-salt.sh git v3006.8
275276
276277
Installing a specific version package from the Salt Project repo using ``wget``:
277278

278279
.. code:: console
279280
280-
wget -O bootstrap-salt.sh https://bootstrap.saltproject.io
281-
sudo sh bootstrap-salt.sh -P stable 3006.1
281+
wget -O bootstrap-salt.sh https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh
282+
sudo sh bootstrap-salt.sh -P stable 3006.8
282283
283284
**NOTE**
284285

@@ -293,14 +294,14 @@ If you already have Python installed, ``python 3.10``, then it's as easy as:
293294

294295
.. code:: console
295296
296-
python -m urllib "https://bootstrap.saltproject.io" > bootstrap-salt.sh
297+
python -m urllib "https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh" > bootstrap-salt.sh
297298
sudo sh bootstrap-salt.sh -P stable 3006.1
298299
299300
With python version 3:
300301

301302
.. code:: console
302303
303-
python3 -c 'import urllib.request; print(urllib.request.urlopen("https://bootstrap.saltproject.io").read().decode("ascii"))' > bootstrap-salt.sh
304+
python3 -c 'import urllib.request; print(urllib.request.urlopen("https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh").read().decode("ascii"))' > bootstrap-salt.sh
304305
sudo sh bootstrap-salt.sh git v3006.1
305306
306307
Note: Python 2.x is no longer supported given it reached it's End-Of-Life Jan. 1st, 2020
@@ -323,25 +324,25 @@ Installing the latest stable release of Salt (default):
323324

324325
.. code:: console
325326
326-
curl -L https://bootstrap.saltproject.io | sudo sh
327+
curl -L https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh | sudo sh
327328
328329
Using ``wget`` to install your distribution's stable packages:
329330

330331
.. code:: console
331332
332-
wget -O - https://bootstrap.saltproject.io | sudo sh
333+
wget -O - https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh | sudo sh
333334
334335
Installing a target version package of Salt from the Salt Project repo:
335336

336337
.. code:: console
337338
338-
curl -L https://bootstrap.saltproject.io | sudo sh -s -- stable 3006.8
339+
curl -L https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh | sudo sh -s -- stable 3006.8
339340
340341
Installing the latest master branch of Salt from git:
341342

342343
.. code:: console
343344
344-
curl -L https://bootstrap.saltproject.io | sudo sh -s -- git master
345+
curl -L https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh | sudo sh -s -- git master
345346
346347
Note: use of git is recommended for development environments, for example: testing new features of
347348
Salt which have not yet been released.
@@ -356,9 +357,8 @@ Using ``PowerShell`` to install latest stable version:
356357
.. code:: powershell
357358
358359
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls12'
359-
Invoke-WebRequest -Uri https://winbootstrap.saltproject.io -OutFile "$env:TEMP\bootstrap-salt.ps1"
360-
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
361-
& "$env:TEMP\bootstrap-salt.ps1"
360+
Invoke-WebRequest -Uri https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.ps1 -OutFile "$env:TEMP\bootstrap-salt.ps1"
361+
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser & "$env:TEMP\bootstrap-salt.ps1"
362362
363363
Display information about the install script parameters:
364364

@@ -370,7 +370,7 @@ Using ``cygwin`` to install latest stable version:
370370

371371
.. code:: console
372372
373-
curl -o bootstrap-salt.ps1 -L https://winbootstrap.saltproject.io
373+
curl -o bootstrap-salt.ps1 -L https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.ps1
374374
"/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0/powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ./bootstrap-salt.ps1"
375375
376376
@@ -380,13 +380,13 @@ Supported Operating Systems
380380
The salt-bootstrap script officially supports the distributions outlined in
381381
`Salt's Supported Operating Systems
382382
<https://docs.saltproject.io/salt/install-guide/en/latest/topics/salt-supported-operating-systems.html>`_
383-
document, (BSD-based OSs, Solaris and AIX are no longer
384-
supported). The operating systems listed below should reflect this document but may become out of
385-
date. If an operating system is listed below, but is not listed on the official supported operating
383+
document, (BSD-based OSs, Solaris and AIX are no longer supported).
384+
The operating systems listed below should reflect this document but may become out of date.
385+
If an operating system is listed below, but is not listed on the official supported operating
386386
systems document, the level of support is "best-effort".
387387

388388
Since Salt is written in Python, the packages available from the `Salt Project's repository
389-
<https://repo.saltproject.io/salt/py3>`_ are
389+
<packages.broadcom.com>`_ are
390390
CPU architecture independent and could be installed on any hardware supported by Linux kernel.
391391
However, the Salt Project does package Salt's binary dependencies only for ``x86_64`` (``amd64``)
392392
and ``AArch64`` (``arm64``).

bootstrap-salt.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
Salt Bootstrap GitHub Project (script home) - https://github.com/saltstack/salt-bootstrap
4040
Original Vagrant Provisioner Project - https://github.com/saltstack/salty-vagrant
4141
Vagrant Project (utilizes this script) - https://github.com/mitchellh/vagrant
42-
Salt Download Location - https://repo.saltproject.io/salt/py3/windows
42+
Salt Download Location - https://packages.broadcom.com/artifactory/saltproject-generic/windows/
43+
Salt Manual Install Directions (Windows) - https://docs.saltproject.io/salt/install-guide/en/latest/topics/install-by-operating-system/windows.html
4344
#>
4445

4546
#===============================================================================

0 commit comments

Comments
 (0)