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

Don't check both platform_family / os in provides when platform_family will do #6711

Merged
merged 3 commits into from
Jan 3, 2018

Conversation

tas50
Copy link
Contributor

@tas50 tas50 commented Dec 21, 2017

We're already going specific enough here to identify the platform_family. Debian is always going to be on Linux and SmartOS on Solaris2. Don't both checking both.

Signed-off-by: Tim Smith tsmith@chef.io

…y will do

We're already going specific enough here to identify the platform_family. Debian is always going to be on Linux and SmartOS on Solaris2. Don't both checking both.

Signed-off-by: Tim Smith <tsmith@chef.io>
@tas50 tas50 requested a review from a team December 21, 2017 20:28
@tas50
Copy link
Contributor Author

tas50 commented Dec 21, 2017

@lamont-granquist if you have some knowledge of why this is the way it is please drop a knowledge bomb on me

@lamont-granquist
Copy link
Contributor

no reason at all. smartos should probably be "platform" its a one-off. although it doesn't matter either way.

@tas50
Copy link
Contributor Author

tas50 commented Dec 22, 2017

Yep I can change that up. All the solaris derivatives just 1:1 match platform and platform_family.

Signed-off-by: Tim Smith <tsmith@chef.io>
It's the same thing and our tests are constructed in a way that
platform_family is necessary here. It's not worth unravelling that to
use platform here

Signed-off-by: Tim Smith <tsmith@chef.io>
@thommay thommay merged commit 1ae46b7 into master Jan 3, 2018
@lamont-granquist lamont-granquist deleted the simplify_provides branch January 23, 2018 21:54
@lock
Copy link

lock bot commented Apr 14, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked and limited conversation to collaborators Apr 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants