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

fix breakage when filebeat is not yet installed #216

Merged
merged 1 commit into from
Jun 24, 2019
Merged

fix breakage when filebeat is not yet installed #216

merged 1 commit into from
Jun 24, 2019

Conversation

buzzdeee
Copy link
Contributor

When filebeat is not yet installed, the filebeat_version fact returns
false, which doesn't work well with versioncmp, and you end up
with the puppet run with following error message:

Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, 'versioncmp' parameter 'a' expects a String value, got Boolean (file: /etc/puppetlabs/code/environments/production/modules/filebeat/manifests/config.pp, line: 77, column: 24) (file: /etc/puppetlabs/code/environments/production/modules/profile/manifests/init.pp, line: 140) on node test.example.com

false, which doesn't work well with versioncmp
@pcfens pcfens merged commit 045f112 into pcfens:master Jun 24, 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.

2 participants