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

No returned value for puppet facts of 'operatingsystemmajrelease' in params.pp under centOS6.4(minimal installed) #21

Closed
jameszhouyi opened this issue Aug 6, 2014 · 3 comments

Comments

@jameszhouyi
Copy link

Hi jhoblitt,
I try to deploy ganglia on centOS6.4, but found that there is no returned value for puppet facter of 'operatingsystemmajrelease' in params.pp, so have to change it to 'lsbmajdistrelease' to continue..please kindly confirm this issue.
Thank you !

@NoodlesNZ
Copy link
Contributor

What do you see under the os fact? The problem with using lsbmajdistrelease is it doesn't always return a value (I don't see it on CentOS 6.5).
It might be possible to use os['release']['major'] if that is consistent

@jhoblitt
Copy link
Owner

The ::operatingsystemmajrelease fact should be present even when the redhat-lsb package that ::lsbmajdistrelease depends on is absent. Could you provide the output of facter --puppet from that system?

@jhoblitt
Copy link
Owner

@jameszhouyi I'm going to close this issue since there's been no activity on it for months and I assume it was a local system issue. Please feel free to reopen it.

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

No branches or pull requests

3 participants