Skip to content

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

Merged
cachedout merged 1 commit into
saltstack:2015.8from
DSRCorporation:issues/31365_centos7_osrelease_fix
Feb 29, 2016
Merged

cachedout merged 1 commit into
saltstack:2015.8from
DSRCorporation:issues/31365_centos7_osrelease_fix

Conversation

@DmitryKuzmenko

Copy link
Copy Markdown
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

gzcwnk commented Mar 22, 2016

Copy link
Copy Markdown

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.

3 participants