Skip to content

hubspotdevops/puppet-elasticsearch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

puppet-elasticsearch

Puppet Elasticsearch module

This module installs and configures Elasticsearch. The Elasticsearch RPMs are available at elasticsearch.org/download/

Example Usage:

class { 'elasticsearch':
  es_min_mem        => '512m',
  es_max_mem        => '1g',
  conf_cluster_name => 'mycluster',
  conf_node_master  => 'true',
  conf_node_data    => 'false',
  conf_path_data    => '/var/lib/elasticsearch',
  conf_discovery_zen_minimum_master_nodes   => 1,
  conf_gateway_recover_after_nodes          => 5,
  conf_gateway_recover_after_time           => '5m',
  conf_gateway_expected_nodes               => 6,
  conf_discovery_zen_ping_multicast_enabled => 'false',
  conf_discovery_zen_ping_unicast_hosts     => '127.0.0.1',
  conf_elasticsearch_additional_params      => {
    'index.store.compress.stored' => 'true',
    'cloud.aws.access_key'        => 'XXXXXXXXXXXXXXXXXXXX',
    'cloud.aws.secret_key'        => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
    'discovery.type'              => 'ec2',
    'discovery.ec2.groups'        => 'elasticsearch_security_group',
    'discovery.ec2.host_type'     => 'private_ip',
    'cloud.node.auto_attributes'  => 'true',
  }
}

About

Puppet Elasticsearch module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 51.8%
  • Puppet 48.2%