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

(FACT-2672) Fix ssh fact output #2029

Merged
merged 1 commit into from
Aug 17, 2020
Merged

Conversation

oanatmaria
Copy link
Contributor

Description of the problem: Ssh fact appears as empty hash when resolver fails to retrieve ssh information.
Description of the fix: Value for ssh fact will be nil when resolver returns empty array. This will prevent ssh fact to be displayed when there isn't any information about ssh on the system.

@oanatmaria oanatmaria added the bug Something isn't working label Aug 13, 2020
@oanatmaria oanatmaria requested review from a team August 13, 2020 12:10
@puppetcla
Copy link

CLA signed by all contributors.

@oanatmaria oanatmaria force-pushed the FACT-2672 branch 3 times, most recently from d3c0f91 to 3c48619 Compare August 17, 2020 14:18
@BogdanIrimie BogdanIrimie merged commit 2e92f2d into puppetlabs:4.x Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants