-
Notifications
You must be signed in to change notification settings - Fork 1
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 downcase() only for fact sets which fact a valid operatingsystem #4
base: develop
Are you sure you want to change the base?
Conversation
Not sure why the 1.9 test fails. Pretty sure it's not because of my change. |
I've checked out develop branch and runned It must be your change that breaks this test on Ruby 1.9. |
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.
This change, breaks existing test for Ruby 1.9. Code should be adjusted to make all test pass. Additionally, we should make a test case to cover change you make.
facterdb 0.8.1 introduced a SLES 15 SP1 fact set which doesn't have a operatingsystem fact. This is due to bugs in facter 2.5. As facter 2.5 doesn't get maintance anymore, we need to fail safely here. Fixes coi-gov-pl#3.
c47aa0c
to
bccd5c1
Compare
Hey @cardil, thanks for taking a look! :) I've altered the output as suggested and added a test. Regarding the failing tests: I'm pretty sure the error isn't related because the latest commit in the |
Hey @cardil could we get this merged and released? :) |
Hey @cardil, any chance to get this merged and released? :) |
facterdb 0.8.1 introduced a SLES 15 SP1 fact set which doesn't have a
operatingsystem fact. This is due to bugs in facter 2.5. As facter 2.5
doesn't get maintance anymore, we need to fail safely here.
Fixes #3.