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

Standard Grains aren't very standard #9613

Closed
erenfro opened this issue Jan 7, 2014 · 3 comments
Closed

Standard Grains aren't very standard #9613

erenfro opened this issue Jan 7, 2014 · 3 comments
Labels
Feature new functionality including changes to functionality and code refactors, etc. stale
Milestone

Comments

@erenfro
Copy link

erenfro commented Jan 7, 2014

There are some grains in certain distros, different grains in others. These should be standard accross them all since they're salt-generated grains.

Example:

CentOS has osmajorrelease, while Debian and Ubuntu do not. This array is very helpful in determining major release checking.

Another example is osfinger exists in CentOS and Ubuntu which returns CentOS-6 for CentOS 6.4, and Ubuntu-12.04 in Ubuntu 12.04, but in Debian, no osfinger value at all but should be Debian-7 for Debian 7.x, or similar. Ubuntu might be better to base it on codename, rather than release version as well. such as Ubuntu-precise, since there is Ubuntu 12.04, 12.04.1, 12.04.2, etc..

Just some examples found of inconsistencies between standard salt-generated grains between a few distros supported by it.

@basepi
Copy link
Contributor

basepi commented Jan 8, 2014

Ya, a lot of these grains have been added haphazardly, and need to be normalized across the various distros. Thanks for filing this!

@ghost
Copy link

ghost commented Oct 10, 2014

Still have this bug, using salt-minion 2014.1.11 (Hydrogen) (2014.1.11+ds-2~bpo70+1) on debian wheezy.

@stale
Copy link

stale bot commented Sep 5, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

@stale stale bot closed this as completed Sep 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature new functionality including changes to functionality and code refactors, etc. stale
Projects
None yet
Development

No branches or pull requests

2 participants