GitHub puppet-elasticsearch
Elasticsearch Puppet module

Repo Checks ( 20 of 26 successfull )
Metadata Valid
No translation
passed
Correct Puppet Version Range
Supported Puppet version range is %{PUPPET_SUPPORT_RANGE}
passed
With Puppet Version Range
Puppet version range is present in requirements in metadata.json
passed
With Operatingsystem Support
No translation
passed
Operatingsystems
No translation
passed
Supports Only Current Redhat
No translation
passed
Supports Latest Redhat
No translation
passed
Supports Only Current Centos
No translation
passed
Supports Latest Centos
No translation
failed
Supports Only Current Oraclelinux
No translation
passed
Supports Latest Oraclelinux
No translation
failed
Supports Only Current Scientific
No translation
passed
Supports Latest Scientific
No translation
failed
Supports Only Current Debian
No translation
passed
Supports Latest Debian
No translation
passed
Supports Only Current Ubuntu
No translation
passed
Supports Latest Ubuntu
No translation
failed
Supports Only Current Sles
No translation
passed
Supports Latest Sles
No translation
failed
In Modulesync Repo
Is listed as a module managed using modulesync_config
passed
Synced
Has a .msync.yml file
passed
Latest Modulesync
Has been synchronized with the latest tagged version of modulesync_config
failed
Has Modulesync
Is present in voxpupuli/modulesync_config/managed_modules.yml
passed
Released
Is in modulesync_config and in forge releases.
passed
Valid Sync File
If a (optional) sync file is present, it must not contain a `.travis.yml` entry.
passed
Reference Dot Md
The repository has a REFERENCE.md. It needs to be generated / puppet-strings documentation is missing.
passed

Open Pull Requests

Fixed Service definition with custom service_name
tests

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'

<!-- The following list of checkboxes are the prerequisites for getting your contribution accepted. Please check them as they are completed. -->

Pull request acceptance prerequisites:

  • [X] Signed the CLA (if not already signed)
  • [X] Rebased/up-to-date with base branch
  • [ ] Tests pass
  • [X] Updated CHANGELOG.md with patch notes (if necessary)
  • [x] Updated CONTRIBUTORS (if attribution is requested)
Open PR in GitHub
Add node name to log4j config
feature
merge-conflicts

Elasticsearch automatically adds the node name but that will be removed in 7.0. This adds the node
name explicitly to the log4j config so it does not get lost when ES 7.0 is release.
Startup warning:

Some logging configurations have %marker but don't have %nodename. We will automatically
add %node
name to the pattern to ease the migration for users who customize log4j2.properties
but will stop this behavior in 7.0. You should manually replace %node_name with
[%node_name]%marker in these locations: ....

<!-- The following list of checkboxes are the prerequisites for getting your contribution accepted. Please check them as they are completed. -->

Pull request acceptance prerequisites:

  • [x] Signed the CLA (if not already signed)
  • [x] Rebased/up-to-date with base branch
  • [x] Tests pass
  • [x] Updated CHANGELOG.md with patch notes (if necessary)
  • [x] Updated CONTRIBUTORS (if attribution is requested)
Open PR in GitHub
Fix more providers
bug
bug
tests-fail
merge-conflicts

In https://github.com/elastic/puppet-elasticsearch/pull/1036 you fixed the autoload issue for some provider types. While testing today I found that there were still some providers that can fail to autoload.

How to reproduce:

  • Use puppet-elasticsearch 6.4.0
  • Restart puppetmaster
  • Run puppet on an agent

Result:


Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Virtual Query, Could not autoload puppet/type/elasticsearch_user: Could not autoload puppet/provider/elasticsearch_user/users: no such file to load -- puppet/provider/elastic_user_command (file: /etc/puppetlabs/code/modules/elasticsearch/manifests/init.pp, line: 554, column: 3) on node agent1.vagrant.test
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

Applying the same fix as in https://github.com/elastic/puppet-elasticsearch/pull/1036 to these types/providers fixed the issue.

Maybe it would make sense to change the imports for all the types/providers?

Pull request acceptance prerequisites:

  • [x] Signed the CLA (if not already signed)
  • [x] Rebased/up-to-date with base branch
  • [x] Tests pass
  • [x] Updated CHANGELOG.md with patch notes (if necessary)
  • [ ] Updated CONTRIBUTORS (if attribution is requested)
Open PR in GitHub
Accept Puppet-Datatype Sensitive
tests
enhancement
enhancement
  • let the Hash containing the Secrets for the Keystore accept Secrets of Datatype Sensitive
  • fix a 15-Months-old Typo-Bug

<!-- The following list of checkboxes are the prerequisites for getting your contribution accepted. Please check them as they are completed. -->

Pull request acceptance prerequisites:

  • [x] Signed the CLA (if not already signed)
  • [x] Rebased/up-to-date with base branch
  • [ ] Tests pass
  • [ ] Updated CHANGELOG.md with patch notes (if necessary)
  • [ ] Updated CONTRIBUTORS (if attribution is requested)
Open PR in GitHub
Update tests to use Hiera 5
  • migrate Fixtures-Hiera to Hiera 5
  • sort YAML-Files alphabetically

<!--
Thank you for contributing to this project!

-->

Pull Request (PR) description

<!--
Replace this comment with a description of your pull request.
-->

This Pull Request (PR) fixes the following issues

<!--
Replace this comment with the list of issues or n/a.
Use format:
Fixes #123
Fixes #124
-->

Open PR in GitHub
Add support for composable index templates
enhancement
enhancement

Pull Request (PR) description

Add support for composable index templates

This Pull Request (PR) fixes the following issues

Open PR in GitHub
Add support for SLM policies
enhancement
enhancement

Pull Request (PR) description

Add support for managing SLM policies

Work is based on #1163 and makes #1084 #1102 obsolete

Open PR in GitHub
Add support for ILM policies
enhancement
enhancement

Pull Request (PR) description

Add support for managing ILM policies

Work is based on #1146 and makes #1103 obsolete

This Pull Request (PR) fixes the following issues

Fixes #1038

Open PR in GitHub
Azure Snapshot Repository
feature
tests-fail
merge-conflicts

<!-- The following list of checkboxes are the prerequisites for getting your contribution accepted. Please check them as they are completed. -->

Pull request acceptance prerequisites:

  • [x] Signed the CLA (if not already signed)
  • [x] Rebased/up-to-date with base branch
  • [ ] Tests pass
  • [ ] Updated CHANGELOG.md with patch notes (if necessary)
  • [ ] Updated CONTRIBUTORS (if attribution is requested)
Open PR in GitHub
Don't overwrite default users and roles when creating the directory
wontfix
waiting-feedback
tests-fail
merge-conflicts

<!-- The following list of checkboxes are the prerequisites for getting your contribution accepted. Please check them as they are completed. -->

I think this fixes things but I have run out of time now to check the rest.

Pull request acceptance prerequisites:

  • [ ] Signed the CLA (if not already signed)
  • [ ] Rebased/up-to-date with base branch
  • [ ] Tests pass
  • [ ] Updated CHANGELOG.md with patch notes (if necessary)
  • [ ] Updated CONTRIBUTORS (if attribution is requested)
Open PR in GitHub
fix(compat): bare min. to get srv running on 7.x
feature
triage
es-7.x
merge-conflicts

Fixed jvm.options.erb to add required jvm options for 7.x
Fixed jvm.options.erb to change jvm options required only for openjdk 8
Added ESPATHDIR instance environment var
Fixed log4j2.properties.erb to fix Deprecation WARNINGS
Keeped Backward Compatibility but not tested yet

<!-- The following list of checkboxes are the prerequisites for getting your contribution accepted. Please check them as they are completed. -->

Pull request acceptance prerequisites:

  • [x] Signed the CLA (if not already signed)
  • [x] Rebased/up-to-date with base branch
  • [x] Tests pass [ except recurrent master fails on Debian 8 and OpenSuse 42 ]
Open PR in GitHub
add s3 support for repository
tests
enhancement
enhancement
tests-fail
merge-conflicts

This PR adds support to manage s3 repository.

Example:

elasticsearch::snapshot_repository { 's3_repository':
repository_type => 's3',
bucket => $backup_aws_s3_bucket,
region => $backup_aws_s3_region
}

Open PR in GitHub
update log4j2properties.erb for [%node_name]%markers
tests-fail
merge-conflicts

<!-- The following list of checkboxes are the prerequisites for getting your contribution accepted. Please check them as they are completed. -->

Pull request acceptance prerequisites:

  • [ ] Signed the CLA (if not already signed)
  • [ ] Rebased/up-to-date with base branch
  • [ ] Tests pass
  • [ ] Updated CHANGELOG.md with patch notes (if necessary)
  • [ ] Updated CONTRIBUTORS (if attribution is requested)
Open PR in GitHub
Updates to testing matrix.
tests-fail
merge-conflicts

Some small cleanups and updates to the module testing matrix.

  • Default to Puppet 6.x
  • Remove Puppet 4.x from testing as it's no longer supported.
  • Update the default Elasticsearch version to 6.8.6.
  • Remove Elasticsearch 2.x, as no longer supported.
  • Add additional OS tests for CentOS 8, Debian 10 and Ubuntu 18.04
Open PR in GitHub
skip sort of jvm_options, fixes #1053
bug
bug
tests-fail
merge-conflicts

This fixes #1053
Pull request acceptance prerequisites:

  • [x] Signed the CLA (if not already signed)
  • [x ] Rebased/up-to-date with base branch
  • [ ] Tests pass
  • [ ] Updated CHANGELOG.md with patch notes (if necessary)
  • [ ] Updated CONTRIBUTORS (if attribution is requested)
Open PR in GitHub
pid directory mode needs be writable
tests
tests-fail
merge-conflicts

Employer EnableIT

If file resource is defined globally, its fails to start the elasticsearch process. so getting the mode set in first place is a right way to do it.


File { owner => root, group => root, mode => '0444' }

Open PR in GitHub
#883 add onboot status to service
tests
tests-fail
merge-conflicts

<!-- The following list of checkboxes are the prerequisites for getting your contribution accepted. Please check them as they are completed. -->

Closes elastic/puppet-elasticsearch#883

Pull request acceptance prerequisites:

  • [X] Signed the CLA (if not already signed)
  • [X] Rebased/up-to-date with base branch
  • [x] Tests pass
  • [x] Updated CHANGELOG.md with patch notes (if necessary)
  • [ ] Updated CONTRIBUTORS (if attribution is requested)
Open PR in GitHub
Reset potentially inherited defaults (since the mode is not always sp…
discuss
waiting-feedback
cla
tests-fail
merge-conflicts

Reset potentially inherited defaults (since the mode is not always specified in below items

For example "${elasticsearch::homedir}/lib" was stripped of 'other' permissions, so my Elasticsearch was unable to start

Open PR in GitHub
adding in the missing -Des.default.path.repo=$REPO_DIR to 3 of the in…
waiting-feedback
tests-fail
merge-conflicts

<!-- The following list of checkboxes are the prerequisites for getting your contribution accepted. Please check them as they are completed. -->

Pull request acceptance prerequisites:
- [x] Signed the CLA (if not already signed)
- [x] Rebased/up-to-date with base branch
- [ ] Tests pass
- [ ] Updated CHANGELOG.md with patch notes (if necessary)
- [ ] Updated CONTRIBUTORS (if attribution is requested)

…it.d scripts

Open PR in GitHub
Handle Restart/RestartSec systemd service file options
waiting-feedback
merge-conflicts

Hello,

Here is a quick improvement to be able to use auto-restart feature provided by systemd service files.

Best regards, Adam.

Open PR in GitHub
Add FreeBSD platform
waiting-feedback
merge-conflicts

<!-- The following list of checkboxes are the prerequisites for getting your contribution accepted. Please check them as they are completed. -->

Pull request acceptance prerequisites:

  • [x] Signed the CLA (if not already signed)
  • [ ] Rebased/up-to-date with base branch
  • [ ] Tests pass
  • [ ] Updated CHANGELOG.md with patch notes (if necessary)
  • [ ] Updated CONTRIBUTORS (if attribution is requested)
Open PR in GitHub
Add option to set private key type
tests
enhancement
enhancement
tests-fail

With this PR it's now possible to set the type of the private key. If, for example, an EC private key is used, it can set with value ec, which will be passed to java_ks. The new setting is optional, when not set the current default (rsa) is used. See https://github.com/puppetlabs/puppetlabs-java_ks/blob/main/REFERENCE.md#private_key_type

Open PR in GitHub
Fixes Issue 1093
tests-fail
merge-conflicts

Pull request acceptance prerequisites:

  • [x] Signed the CLA (if not already signed)
  • [x] Rebased/up-to-date with base branch
  • [x] Tests pass
  • [x] Updated CHANGELOG.md with patch notes (if necessary)
  • [x] Updated CONTRIBUTORS (if attribution is requested)
Open PR in GitHub
Issue #971 - File realm files MUST NOT trigger Elasticsearch service restart
bug
wontfix
es-7.x
bug
tests-fail
merge-conflicts

Issue elastic/puppet-elasticsearch#971 - File realm files MUST NOT trigger Elasticsearch service restart

This is a naive implementation and another way would be to handle everything in the elasticsearch_role, elasticsearch_user, elasticsearch_role_mapping providers, letting them create the file if it doesn't exist instead of just parsing them.

Pull request acceptance prerequisites:

  • [ ] Signed the CLA (if not already signed)
  • [x] Rebased/up-to-date with base branch
  • [ ] Tests pass
  • [x] Updated CHANGELOG.md with patch notes (if necessary)
  • [x] Updated CONTRIBUTORS (if attribution is requested)
Open PR in GitHub
Management jvm.options (ES V6 V7 < 7.7.0)

Pull Request (PR) description

  • Add new parameter (enum) $release_type to separate differents jvm.options (some expert settings are different between 'DEB' and 'LINUX' ...etc and between v7 and v6)
  • Templates 7 are made from 7.6.2 releases
  • Templates 6 are made from 6.8.23 releases
  • Add code in 000elasticsearchinit_spec.rb for the coverage 100%

Templates are in 2 parts
- first part $jvm_options (-Xms, -Xmx and others custom choices)
- second part "expert settings" : fixed values

This Pull Request (PR) fixes the following issues

Pull request acceptance prerequisites:

  • [x] Signed the CLA (if not already signed)
  • [x] Rebased/up-to-date with base branch
  • [x] Tests pass
  • [ ] Updated CHANGELOG.md with patch notes (if necessary)
  • [ ] Updated CONTRIBUTORS (if attribution is requested)
Open PR in GitHub