Skip to content

Commit 82b5380

Browse files
author
Gavin Williams
authored
Merge pull request #1085 from elastic/remove_multi-instance
2 parents d6d3bb6 + 030bb2e commit 82b5380

File tree

94 files changed

+1466
-4459
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+1466
-4459
lines changed

.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ jobs:
5050
- PUPPET_VERSION='~> 5.0'
5151
- stage: acceptance
5252
env:
53+
- BEAKER_PUPPET_COLLECTION=puppet6
54+
- TASK=beaker:amazonlinux-1-x64:acceptance
55+
- env:
56+
- BEAKER_PUPPET_COLLECTION=puppet6
57+
- TASK=beaker:amazonlinux-2-x64:acceptance
58+
- env:
5359
- BEAKER_PUPPET_COLLECTION=puppet6
5460
- TASK=beaker:centos-6-x64:acceptance
5561
- env:
@@ -58,9 +64,6 @@ jobs:
5864
- env:
5965
- BEAKER_PUPPET_COLLECTION=puppet6
6066
- TASK=beaker:centos-8-x64:acceptance
61-
- env:
62-
- BEAKER_PUPPET_COLLECTION=puppet6
63-
- TASK=beaker:amazonlinux-1-x64:acceptance
6467
- env:
6568
- BEAKER_PUPPET_COLLECTION=puppet6
6669
- TASK=beaker:oracle-6-x64:acceptance

data/common.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ elasticsearch::daily_rolling_date_pattern: |
1717
elasticsearch::datadir_instance_directories: true
1818
elasticsearch::default_logging_level: 'INFO'
1919
elasticsearch::defaults_location: ~
20+
elasticsearch::deprecation_logging: false
21+
elasticsearch::deprecation_logging_level: 'DEBUG'
2022
elasticsearch::download_tool: ~
2123
elasticsearch::download_tool_insecure: ~
2224
elasticsearch::download_tool_verify_certificates: true
@@ -31,6 +33,7 @@ elasticsearch::license: ~
3133
elasticsearch::logdir: /var/log/elasticsearch
3234
elasticsearch::logging_config: {}
3335
elasticsearch::logging_file: ~
36+
elasticsearch::logging_level: 'INFO'
3437
elasticsearch::logging_template: ~
3538
elasticsearch::manage_repo: true
3639
elasticsearch::oss: false
@@ -55,9 +58,10 @@ elasticsearch::scripts: {}
5558
elasticsearch::secrets: ~
5659
elasticsearch::security_logging_content: ~
5760
elasticsearch::security_logging_source: ~
58-
elasticsearch::security_plugin: ~
61+
elasticsearch::service_name: elasticsearch
5962
elasticsearch::service_provider: systemd
6063
elasticsearch::snapshot_repositories: {}
64+
elasticsearch::ssl: false
6165
elasticsearch::status: enabled
6266
elasticsearch::system_key: ~
6367
elasticsearch::systemd_service_path: /lib/systemd/system

lib/puppet/provider/elastic_parsedfile.rb

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,10 @@
33
# Parent class for Elasticsearch-based providers that need to access
44
# specific configuration directories.
55
class Puppet::Provider::ElasticParsedFile < Puppet::Provider::ParsedFile
6-
# Find/set a shield configuration file.
7-
#
8-
# @return String
9-
def self.shield_config(val)
10-
@default_target ||= "/etc/elasticsearch/shield/#{val}"
11-
end
12-
136
# Find/set an x-pack configuration file.
147
#
158
# @return String
169
def self.xpack_config(val)
17-
@default_target ||= "/etc/elasticsearch/x-pack/#{val}"
18-
end
19-
20-
# Find/set an oss x-pack configuration file.
21-
#
22-
# @return String
23-
def self.oss_xpack_config(val)
2410
@default_target ||= "/etc/elasticsearch/#{val}"
2511
end
2612
end

lib/puppet/provider/elastic_user_roles.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
require 'puppet/provider/elastic_yaml'
22

3-
# Provider to help manage file-based Shield/X-Pack user/role configuration
3+
# Provider to help manage file-based X-Pack user/role configuration
44
# files.
55
class Puppet::Provider::ElasticUserRoles < Puppet::Provider::ElasticYaml
66
# Override the ancestor `parse` method to process a users/roles file

lib/puppet/provider/elasticsearch_license/shield.rb

Lines changed: 0 additions & 31 deletions
This file was deleted.

lib/puppet/provider/elasticsearch_license/x-pack.rb renamed to lib/puppet/provider/elasticsearch_license/xpack.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# rubocop:disable Style/FileName
2-
# rubocop:enable Style/FileName
31
require 'puppet/provider/elastic_rest'
42

53
Puppet::Type.type(:elasticsearch_license).provide(

lib/puppet/provider/elasticsearch_plugin/plugin.rb

Lines changed: 0 additions & 18 deletions
This file was deleted.

lib/puppet/provider/elasticsearch_role/oss_xpack.rb

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)