Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.

(FACT-2590) No facts are displayed on Redhat 5 and Centos6 #484

Merged
merged 4 commits into from
Apr 30, 2020

Conversation

BogdanIrimie
Copy link
Contributor

No description provided.

@BogdanIrimie BogdanIrimie added the bugfix Something isn't working label Apr 29, 2020
@BogdanIrimie BogdanIrimie requested review from a team April 29, 2020 15:03
Comment on lines +44 to +51
@log.debug("Could not detect hierarchy using os identifier: #{identifier} , trying with family")
hierarchy = @os_hierarchy.construct_hierarchy(detect_family)
end

if hierarchy.empty?
@log.debug("Could not detect hierarchy using family #{detect_family}, falling back to Linux")
hierarchy = @os_hierarchy.construct_hierarchy(:linux)
end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you write a test for these new messages?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added tests for debug messages.

@BogdanIrimie BogdanIrimie merged commit 9933642 into master Apr 30, 2020
@BogdanIrimie BogdanIrimie deleted the FACT-2590 branch April 30, 2020 08:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bugfix Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants