Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added temporary workaround for CentOS 7 os-release id bug. #31539

Merged

Conversation

DmitryKuzmenko
Copy link
Contributor

What does this PR do?

Use /etc/centos-release file to get the os release number instead of /etc/os-release if the os is CentOS 7. This is done because CentOS 7 lacks minor release id number in the os-release file that is a known opened but https://bugs.centos.org/view.php?id=8359

What issues does this PR fix or reference?

Fixes: #31365

Previous Behavior

Set grains release id to 7

New Behavior

Set grains release id to 7.2.1511 (in my case)

Tests written?

  • Yes
  • No

@DmitryKuzmenko DmitryKuzmenko force-pushed the issues/31365_centos7_osrelease_fix branch from c93297d to a3b806d Compare February 29, 2016 14:16
cachedout pushed a commit that referenced this pull request Feb 29, 2016
…ase_fix

Added temporary workaround for CentOS 7 os-release id bug.
@cachedout cachedout merged commit 96c0926 into saltstack:2015.8 Feb 29, 2016
@gzcwnk
Copy link

gzcwnk commented Mar 22, 2016

Need this for RHEL7.2 as well.

@DmitryKuzmenko DmitryKuzmenko deleted the issues/31365_centos7_osrelease_fix branch August 15, 2016 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants