-
Notifications
You must be signed in to change notification settings - Fork 51
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
.empty? throwing exception on nil value #55
Comments
I don't recommend this change, because it empty values aren't seen by nil. Eg:
I would accept a patch for an empty||nil test, however I think you should root cause why you're seeing nil's. I think that's the issue, likely in your setup somewhere... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In certain places in your files particularly in my case the host.pp and host/data.pp you have this:
When I run that I get an error from puppet:
I believe it is because it is getting thrown a Nil value. I changed them to:
and it seemed to work fine after that.
The text was updated successfully, but these errors were encountered: