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

Defer os-specific default value test to avoid fact availability issues #222

Merged
merged 1 commit into from
Dec 19, 2018

Conversation

jorhett
Copy link
Contributor

@jorhett jorhett commented Dec 19, 2018

There's no convenient or simple way to ensure lsb-core is installed on RHEL systems, and in general evaluating code for a different OS just propagates failures unrelated to the using OS. This patch defers the default value analysis until the point of usage, which succeeds for all practical purposes and ducks this issue.

fixes #218

@davejrt
Copy link
Contributor

davejrt commented Dec 19, 2018

Thanks for this, a much better solution as you've mentioned above.

@davejrt davejrt merged commit 4a78a87 into puppetlabs:master Dec 19, 2018
@jorhett jorhett deleted the resolve_os_fact_issues branch January 4, 2019 00:28
@davejrt davejrt added this to the 3.2.0 milestone Jan 15, 2019
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

Successfully merging this pull request may close these issues.

Fact resolution failed
2 participants