-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
Use os structured fact instead of flat lsb facts #43
Conversation
Thanks for the PR @traylenator, can you check the issues that travis found? |
I don't think the build issues are related to the changes in this PR (or any of the other PRs). I looks (to me) that there's a few broken Ruby Gems getting pulled/used, or possibly issues with the metadata.json file. Ruby versions before 2.x seem to be throwing a syntax error in the So it looks like the fix will either be to remove support for Ruby <2.x, or use an older, more compatible, version of Either way, doesn't appear to be an issue with the changes in this PR, just looks like some Gems and |
@traylenator we recently did a modulesync. Can you please rebase? |
Happy to covert this to osfamily since so many changes going through anyway. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense.
manifests/config.pp
Outdated
'Ubuntu': { | ||
case $::lsbdistcodename { | ||
'Debian': { | ||
case $facts['os']['release']['major'] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While you're at it, maybe change this to a simple if since there's just 1 case?
Use structured os fact and in particular make use of osfamily to avoid listing redhat clones.
And rebased. |
Scientific Linux CERN version has an
operatingsystem SLC on clone version 6.