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 usage of static 'elasticsearch' instead of $elasticsearch::service_name #1178

Merged
merged 1 commit into from Dec 16, 2022

Conversation

phaedriel
Copy link
Contributor

Pull Request (PR) description

Replace static service name 'elasticsearch' by $elasticsearch::service_name

This Pull Request (PR) fixes the following issues

When Elasticsearch is installed with a custom service_name, puppet will fail because the custom name is not used for the before relationship metaparameter.

class { 'elasticsearch':
  service_name        => 'elasticsearch_default',
}

results in:
Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Could not find resource 'Service[elasticsearch]' in parameter 'before'

@smortex smortex added the bug Something isn't working label Dec 16, 2022
@smortex smortex changed the title static 'elasticsearch' to $elasticsearch::service_name Fix usage of static 'elasticsearch' instead of $elasticsearch::service_name Dec 16, 2022
@smortex smortex merged commit 25060e0 into voxpupuli:master Dec 16, 2022
@phaedriel phaedriel deleted the service_name branch December 31, 2022 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants