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

simplify distro detection for RHEL-derivatives #525

Merged
merged 1 commit into from
Jan 25, 2016
Merged

simplify distro detection for RHEL-derivatives #525

merged 1 commit into from
Jan 25, 2016

Conversation

ceetav
Copy link
Contributor

@ceetav ceetav commented Jan 19, 2016

/etc/redhat-release is owned by packages like redhat-release-server-6Server-6.7.0.3.el6.x86_64.rpm, centos-release-7-2.1511.el7.centos.2.10.x86_64.rpm, oraclelinux-release-7.2-1.0.5.el7.x86_64.rpm, sl-release-7.1-2.sl7.x86_64.rpm and can be used for a recognition between these distros at least

@deepak-kosaraju
Copy link

@ceetav
Thanks for this PR. This looks nice to me 👍 rather than few if statements.

@cheeseplus
Copy link
Contributor

+1

cheeseplus pushed a commit that referenced this pull request Jan 25, 2016
simplify distro detection for RHEL-derivatives
@cheeseplus cheeseplus merged commit 080a635 into chef:master Jan 25, 2016
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