We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
class { 'elasticsearch' : ssl => true, ca_certificate => '/path/to/ca.pem', certificate => '/path/to/cert.pem', private_key => '/path/to/key.pem', keystore_password => 'keystorepassword', }
When you want SSL enabled and use the default packages from the OS (so not setting a version), there is an error in getting the catalog.
When no version is defined, expect a version of 7 or higher and add the tls_config from that one.
Evaluation Error: Error while evaluating a Function Call, 'versioncmp' parameter 'a' expects a String value, got Boolean (file: /etc/puppetlabs/code/environments/xxx/modules/elasticsearch/manifests/config.pp, line: 96, column: 11)
The text was updated successfully, but these errors were encountered:
Merge pull request #1175 from phaedriel/issue_1173
f926e35
Fixes #1173
Hi, thanks this also fixes #1174 At least partly.. shouldn't be the if case not be:
if ($elasticsearch::version == false or versioncmp($elasticsearch::version, '7') >= 0)
cause rn, when i set the version to false, it rolls out the tls config for ela6 and not for ela7
see also here:
What behaviour did you expect instead When no version is defined, expect a version of 7 or higher and add the tls_config from that one
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
When you want SSL enabled and use the default packages from the OS (so not setting a version), there is an error in getting the catalog.
What behaviour did you expect instead
When no version is defined, expect a version of 7 or higher and add the tls_config from that one.
Output log
Evaluation Error: Error while evaluating a Function Call, 'versioncmp' parameter 'a' expects a String value, got Boolean (file: /etc/puppetlabs/code/environments/xxx/modules/elasticsearch/manifests/config.pp, line: 96, column: 11)
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered: