saltstack / salt-install-guide

A guide on installing Salt in your environment
Apache License 2.0
0 stars 1 forks source link

Provide directions for air-gapped environments / repository syncing with the new packages.broadcom.com repos #8

Open ScriptAutomate opened 22 hours ago

ScriptAutomate commented 22 hours ago

Page to update:

Previously, Salt Project provided directions for tools like rsync and aws cli for pulling down Salt repositories for use within local/private infra. With the new repository locations, new guidance can be given.

Repository locations:

max-arnold commented 7 hours ago

Something like this should work:

RCLONE_WEBDAV_URL=https://packages.broadcom.com/artifactory/ RCLONE_WEBDAV_VENDOR=other rclone sync :webdav:saltproject-generic/ ./saltproject-generic/
ScriptAutomate commented 1 hour ago

@max-arnold wget could be a simple option too:

wget --mirror -nH --cut-dirs=1 https://packages.broadcom.com/artifactory/saltproject-rpm/
wget --mirror -nH --cut-dirs=1 https://packages.broadcom.com/artifactory/saltproject-deb/
wget --mirror -nH --cut-dirs=1 https://packages.broadcom.com/artifactory/saltproject-generic/

I'll just post both. rclone is the superior option for speed, but wget can be used if rclone for whatever reason is unavailable.