-
Notifications
You must be signed in to change notification settings - Fork 12
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
Handle Facter errors as failures #50
base: master
Are you sure you want to change the base?
Conversation
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.
@bastelfreak I think you've seen more reports in practice. Are there more things we should keep in mind?
This could actually be quite annoying in cases where you have a few older boxes running old versions of puppet and ruby as even if an old system doesn't use 90% of your modules, they will try and evaluate facts from all modules. Personally, I'm quite happy ignoring such errors. Maybe it needs to be configurable? |
In my case, we had a custom fact that was failing on all of our boxes (due to a logic error in the collector code) and was leading to some misconfigurations. I've added a configuration option. |
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.
@alexjfisher thanks for your input. I'm leaning to enabling this by default. Is the (hiera) parameter sufficient for you?
Facter errors are currently ignored (not included in any metrics). Count them as failures.