saltstack/salt-bootstrap

Bug: _ONEDIR_DIR missing for CentOS/AlmaLinux/RockyLinux/etc. in bootstrap-salt.sh

Opened this issue · 0 comments

Description

  • _ONEDIR_DIR missing in bootstrap-salt.sh for CentOS/AlmaLinux/RockyLinux/etc.
  • therefore salt repo URL is set wrong, resulting in a failed installation:
Errors during downloading metadata for repository 'saltstack':
  - Status code: 404 for https://repo.saltproject.io/py3/redhat/9/x86_64/3005/repodata/repomd.xml (IP: 143.204.98.62)
Error: Failed to download metadata for repo 'saltstack': Cannot download repomd.xml: Cannot download repodata/repomd.xml:

Steps to Reproduce Issue

./bootstrap-salt.sh -P stable 3005

Versions and Systems

v2023.04.26
9cd4780)

Root Causes

_ONEDIR_DIR missing in URL:

Will provide a fix with separate PR, hopefully closing this issue.