Skip to content

Conversation

yetanothertw
Copy link
Contributor

@yetanothertw yetanothertw commented Aug 26, 2025

The author of #1745 is correct, autorefresh = 1 is not a config option that's available in dnf or yum. However, it is a valid and often used option in zypper (openSUSE distros).

I've added tabs to account for this discrepancy (when creating the repo definition) and using tabs actually fixes the next step as well, which is trying to account for multiple Linux distros commands to install Elasticsearch from an RPM repo.
The RHEL-based commands for installing will also differ based on the version or RHEL you're using, so that tab accounts for RHEL 8 + (when dnf was introduced) and RHEL 7 & earlier for yum.

I've also updated the names of the distros for accuracy:

  • Red Hat Enterprise Linux (RHEL)
  • openSUSE
  • SUSE Linux Enterprise Server (SLES)
  • Oracle Linux (was renamed from Oracle Enterprise)
  • CentOS

Fixes #1745

Copy link

github-actions bot commented Aug 26, 2025

🔍 Preview links for changed docs

@yetanothertw yetanothertw marked this pull request as ready for review August 26, 2025 12:26
@yetanothertw yetanothertw requested a review from a team as a code owner August 26, 2025 12:26
@yetanothertw yetanothertw self-assigned this Aug 26, 2025
@yetanothertw yetanothertw added the documentation Improvements or additions to documentation label Aug 26, 2025
Copy link
Contributor

@wajihaparvez wajihaparvez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👏

@yetanothertw yetanothertw enabled auto-merge (squash) August 26, 2025 14:01
@yetanothertw yetanothertw merged commit 121a7f5 into main Aug 26, 2025
6 of 7 checks passed
@yetanothertw yetanothertw deleted the fix-option-rpm-install-1745 branch August 26, 2025 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Website]: elasticsearch.repo content inaccurate
2 participants