-
Notifications
You must be signed in to change notification settings - Fork 178
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
Template Checking for NilClass #63
Comments
Maybe this is fixed by #65 |
What's the specific error message you're getting for this? Originally this was set to nil, but another issue was encountered. It was fixed in 8e5bcf3. |
I'm seeing this too. I don't know if it actually breaks anything. I suspect filebeat just uses the default value when this is empty. It would be nice not to have nil values set here though. |
pcfens
added a commit
that referenced
this issue
Apr 4, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In https://github.com/pcfens/puppet-filebeat/blob/master/templates/filebeat5.yml.erb#L34 it is currently checking if @filebeat_config['max_procs'] is :undef type, as seen below.
<%- if @filebeat_config['max_procs'] != :undef -%>
In all other if blocks they are checking for a nil value. For consistency's sake this :undef should be changed to nil.
This was uncovered after enabling the Future Parser on a Puppet 3.x environment.
The text was updated successfully, but these errors were encountered: