diff --git a/docs/_static/css/announcement-sticky.css b/docs/_static/css/announcement-sticky.css new file mode 100644 index 0000000..0903269 --- /dev/null +++ b/docs/_static/css/announcement-sticky.css @@ -0,0 +1,12 @@ +.announcement { + position: fixed; + width: 100%; + z-index: 100; +} + +.announcement + .page { + padding-top: var(--header-height); +} +.announcement + .page .mobile-header { + top: var(--header-height); +} diff --git a/docs/conf.py b/docs/conf.py index b3bf27b..6666fd1 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -182,7 +182,7 @@ def setup(app): "color-brand-primary": "#66CCF4", "color-brand-content": "#66CCF4", }, - "announcement": "IMPORTANT ANNOUNCEMENT: repo.saltproject.io has migrated to packages.broadcom.com!
A review and update of installation automation is advised.", + "announcement": 'IMPORTANT ANNOUNCEMENT: repo.saltproject.io has migrated to packages.broadcom.com!
Click here for latest update (2024-10-31)
', } # Add any paths that contain custom static files (such as style sheets) here, @@ -193,6 +193,7 @@ def setup(app): # These paths are either relative to html_static_path # or fully qualified paths (eg. https://example.com) html_css_files = [ + "css/announcement-sticky.css", "css/import-all-salt-docs.css", "css/local-testing.css", ] diff --git a/docs/topics/_includes/install-method.rst b/docs/topics/_includes/install-method.rst index c1429dc..4e03896 100644 --- a/docs/topics/_includes/install-method.rst +++ b/docs/topics/_includes/install-method.rst @@ -1,9 +1,9 @@ The Salt Project provides public repositories for packages on the public Broadcom Artifactory endpoint: -* `Salt Project RPM Repo `__ -* `Salt Project DEB Repo `__ -* `Salt Project Generic Repo (Windows, MacOS, etc.) `__ +* `Salt Project RPM Repo `__ +* `Salt Project DEB Repo `__ +* `Salt Project Generic Repo (Windows, MacOS, etc.) `__ The preferred method for installing Salt is using distribution packages. This method ensures that: diff --git a/docs/topics/bootstrap.rst b/docs/topics/bootstrap.rst index 82ec47e..15374a0 100644 --- a/docs/topics/bootstrap.rst +++ b/docs/topics/bootstrap.rst @@ -9,6 +9,7 @@ Bootstrap installation About the Salt bootstrap installation ===================================== + The `Salt Bootstrap project `_ maintains a Bash shell script that installs Salt on any Linux/Unix platform. The script installs ``salt-master`` and ``salt-minion`` system packages and enables Salt diff --git a/docs/topics/downloads.rst b/docs/topics/downloads.rst index dd4cee5..2db72c6 100644 --- a/docs/topics/downloads.rst +++ b/docs/topics/downloads.rst @@ -25,7 +25,7 @@ Linux (RPM) .. grid-item-card:: Browse the repo for RPM packages :class-card: sd-border-1 - :link: https://packages.broadcom.com/ui/repos/tree/General/saltproject-rpm + :link: https://packages.broadcom.com/artifactory/saltproject-rpm :bdg-primary:`rpm` |minor-lts-version-badge| @@ -44,14 +44,14 @@ Linux (DEB) .. grid-item-card:: Browse the repo for DEB packages :class-card: sd-border-1 - :link: https://packages.broadcom.com/ui/repos/tree/General/saltproject-deb + :link: https://packages.broadcom.com/artifactory/saltproject-deb - :bdg-primary:`rpm` + :bdg-primary:`deb` |minor-lts-version-badge| .. grid-item-card:: DEB install guide :class-card: sd-border-1 - :link: install-rpm + :link: install-deb :link-type: ref :bdg-info:`Install Salt on Debian-like systems` @@ -68,7 +68,7 @@ Download the macOS package and run the file to install Salt. See the .. grid-item-card:: Browse the repo for macOS packages :class-card: sd-border-1 - :link: https://packages.broadcom.com/ui/repos/tree/General/saltproject-generic/macos + :link: https://packages.broadcom.com/artifactory/saltproject-generic/macos :bdg-danger:`macOS` |minor-lts-version-badge| @@ -93,7 +93,7 @@ Download the Windows package and run the file to install Salt. See the .. grid-item-card:: Browse the repo for Windows packages :class-card: sd-border-1 - :link: https://packages.broadcom.com/ui/repos/tree/General/saltproject-generic/windows + :link: https://packages.broadcom.com/artifactory/saltproject-generic/windows :bdg-danger:`Windows` |minor-lts-version-badge| diff --git a/docs/topics/install-by-operating-system/linux-deb.rst b/docs/topics/install-by-operating-system/linux-deb.rst index d94a58b..0ede1a7 100644 --- a/docs/topics/install-by-operating-system/linux-deb.rst +++ b/docs/topics/install-by-operating-system/linux-deb.rst @@ -222,7 +222,7 @@ Browse the repo .. card:: Browse the repo for DEB packages :class-card: sd-border-1 - :link: https://packages.broadcom.com/ui/repos/tree/General/saltproject-deb + :link: https://packages.broadcom.com/artifactory/saltproject-deb/ :width: 50% :bdg-primary:`deb` diff --git a/docs/topics/install-by-operating-system/linux-rpm.rst b/docs/topics/install-by-operating-system/linux-rpm.rst index 0dd0439..e9b0de5 100644 --- a/docs/topics/install-by-operating-system/linux-rpm.rst +++ b/docs/topics/install-by-operating-system/linux-rpm.rst @@ -216,7 +216,7 @@ Browse the repo .. card:: Browse the repo for RPM packages :class-card: sd-border-1 - :link: https://packages.broadcom.com/ui/repos/tree/General/saltproject-rpm + :link: https://packages.broadcom.com/artifactory/saltproject-rpm/ :width: 50% :bdg-primary:`rpm` diff --git a/docs/topics/install-by-operating-system/macos.rst b/docs/topics/install-by-operating-system/macos.rst index 029728d..60e30a6 100644 --- a/docs/topics/install-by-operating-system/macos.rst +++ b/docs/topics/install-by-operating-system/macos.rst @@ -66,7 +66,7 @@ Browse the repo =============== .. card:: Browse the repo for macOS packages - :link: :link: https://packages.broadcom.com/ui/repos/tree/General/saltproject-generic/macos + :link: https://packages.broadcom.com/artifactory/saltproject-generic/macos :width: 50% :bdg-primary:`macOS` diff --git a/docs/topics/install-by-operating-system/windows.rst b/docs/topics/install-by-operating-system/windows.rst index ad13b8e..4f1f1a5 100644 --- a/docs/topics/install-by-operating-system/windows.rst +++ b/docs/topics/install-by-operating-system/windows.rst @@ -432,7 +432,7 @@ Browse the repo .. card:: Browse the repo for Windows packages :class-card: sd-border-1 - :link: https://packages.broadcom.com/ui/repos/tree/General/saltproject-generic/windows + :link: https://packages.broadcom.com/artifactory/saltproject-generic/windows :width: 50% :bdg-primary:`Windows` diff --git a/docs/topics/other-install-types/air-gap-install.rst b/docs/topics/other-install-types/air-gap-install.rst index 643a4b4..eebaa96 100644 --- a/docs/topics/other-install-types/air-gap-install.rst +++ b/docs/topics/other-install-types/air-gap-install.rst @@ -10,4 +10,109 @@ Install in air-gapped environments About air-gapped installations ============================== -TBD +To install Salt in an air-gapped environment, you can create a local mirror of +the Salt Project repositories using a sync tool such as ``rclone`` or ``wget``. + +Create a local mirror with ``rclone`` (faster) +============================================== + +.. note:: + + Only sync once per day. + +To set up local mirrors with ``rclone``: + +.. tab-set:: + + .. tab-item:: Linux (RPM) + + Syncs down the following repo: `saltproject-rpm `__ + + #. In the ``rclone`` command line, adapt this example: + + .. code-block:: bash + + RCLONE_WEBDAV_URL=https://packages.broadcom.com/artifactory/ RCLONE_WEBDAV_VENDOR=other rclone sync --fast-list --use-server-modtime -v :webdav:saltproject-rpm/ ./saltproject-rpm/ + + #. (Optional): If you can't use the ``--use-server-modtime`` flag because your + version of ``rclone`` is too old, you can use the ``-c flag`` instead: + + .. code-block:: bash + + RCLONE_WEBDAV_URL=https://packages.broadcom.com/artifactory/ RCLONE_WEBDAV_VENDOR=other rclone sync --fast-list -c -v :webdav:saltproject-rpm/ ./saltproject-rpm/ + + .. tab-item:: Linux (DEB) + + Syncs down the following repo: `saltproject-deb `__ + + #. In the ``rclone`` command line, adapt this example: + + .. code-block:: bash + + RCLONE_WEBDAV_URL=https://packages.broadcom.com/artifactory/ RCLONE_WEBDAV_VENDOR=other rclone sync --fast-list --use-server-modtime -v :webdav:saltproject-deb/ ./saltproject-deb/ + + #. (Optional): If you can't use the ``--use-server-modtime`` flag because your + version of ``rclone`` is too old, you can use the ``-c flag`` instead: + + .. code-block:: bash + + RCLONE_WEBDAV_URL=https://packages.broadcom.com/artifactory/ RCLONE_WEBDAV_VENDOR=other rclone sync --fast-list -c -v :webdav:saltproject-deb/ ./saltproject-deb/ + + .. tab-item:: Generic (Windows, macOS, etc.) + + Syncs down the following repo: `saltproject-generic `__ + + #. In the ``rclone`` command line, adapt this example: + + .. code-block:: bash + + RCLONE_WEBDAV_URL=https://packages.broadcom.com/artifactory/ RCLONE_WEBDAV_VENDOR=other rclone sync --fast-list --use-server-modtime -v :webdav:saltproject-generic/ ./saltproject-generic/ + + #. (Optional): If you can't use the ``--use-server-modtime`` flag because your + version of ``rclone`` is too old, you can use the ``-c flag`` instead: + + .. code-block:: bash + + RCLONE_WEBDAV_URL=https://packages.broadcom.com/artifactory/ RCLONE_WEBDAV_VENDOR=other rclone sync --fast-list -c -v :webdav:saltproject-generic/ ./saltproject-generic/ + + +Create a local mirror with ``wget`` (slower) +============================================ + +.. note:: + + Only sync once per day. + +To set up local mirrors with ``wget``: + +.. tab-set:: + + .. tab-item:: Linux (RPM) + + Syncs down the following repo: `saltproject-rpm `__ + + In the ``wget`` command line, adapt this example: + + .. code-block:: bash + + wget --mirror -nH --cut-dirs=1 https://packages.broadcom.com/artifactory/saltproject-rpm/ + + .. tab-item:: Linux (DEB) + + Syncs down the following repo: `saltproject-deb `__ + + In the ``wget`` command line, adapt this example: + + .. code-block:: bash + + wget --mirror -nH --cut-dirs=1 https://packages.broadcom.com/artifactory/saltproject-deb/ + + .. tab-item:: Generic (Windows, macOS, etc.) + + Syncs down the following repo: `saltproject-generic `__ + + In the ``wget`` command line, adapt this example: + + .. code-block:: bash + + wget --mirror -nH --cut-dirs=1 https://packages.broadcom.com/artifactory/saltproject-generic/ diff --git a/docs/topics/other-install-types/release-candidate.rst b/docs/topics/other-install-types/release-candidate.rst index 058b64e..41eaefa 100644 --- a/docs/topics/other-install-types/release-candidate.rst +++ b/docs/topics/other-install-types/release-candidate.rst @@ -27,6 +27,7 @@ and write ``[RC]`` in the issue title. For example: Install using packages ====================== + RC builds are available in the Salt package repositories. To install release candidate packages: