-
Notifications
You must be signed in to change notification settings - Fork 176
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
versioncmp in params.pp #299
Comments
I just ran into this bug as well. My solution was to change the first line:
That works for me because I know the version of filebeat I'm using is greater than 7.16, but it certainly isn't the correct fix. |
The same bug also exists in input.pp, line 57. |
It is there but when it hits that a version of FileBeat Will be present. |
Perhaps in theory, but somehow I encountered the bug there in practice. |
In the latest version (4.11.1) there is a bug in params.pp for fresh-installs. When 'filebeat' is not installed yet, the fact 'filebeat-version' gives a 'false' which Puppet sees as Boolean which causes an error:
Error: Evaluation Error: Error while evaluating a Function Call, 'versioncmp' parameter 'a' expects a String value, got Boolean (file: /etc/puppetlabs/code/modules/filebeat/manifests/params.pp, line: 172, column: 6)
Version 4.11.0 does not have this error, the fault is in the params.pp:
puppet-filebeat/manifests/params.pp
Lines 172 to 176 in 1511e00
The text was updated successfully, but these errors were encountered: