voxpupuli / puppet-elasticsearch

Elasticsearch Puppet module
Apache License 2.0
404 stars 479 forks source link

fixes #1197 - add a managed file entry for jvm.options #1198

Closed bmagistro closed 4 months ago

bmagistro commented 12 months ago

This fixes #1197 and effectively replaces #1041 which was originally opened to support #928. I believe this will also fix #1093.

The jvm.options file is considered a config by the RPM (would expect the same to be true of a DEB) so when migrating from a multi-instance to a single instance management and not changing versions, its possible the file jvm.options would not exist in the new configuration directory. This change ensures the file exists and if not creates an empty file.

h-haaks commented 4 months ago

Fixed by #1202