es

Elastic Search Defined Type

Meltwater

meltwater

9,464 downloads

9,464 latest version

3.4 quality score

Version information

  • 1.0.0 (latest)
released Mar 19th 2014

Start using this module

Documentation

meltwater/es — version 1.0.0 Mar 19th 2014

Elastic Search Defined Type

This defined type provides a way to use multiple Elastic Search instances on a single machine.

Dependencies

An installed version of java, a service user and a parent directory to install to. These dependencies are purposely not supplied to allow easy integration into existing codebases.

How to use:

es {'es-instance1':
  version => '1.0.1',
  xms => '128m',
  xmx => '128m',
  javahome => '/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25.x86_64',
  custom_config => ['node.tag: ssd'],
  clustername => 'elasticsearch',
  nodedata => true,
  master => true,
  spmkey => 'none',
  multicast => true,
  es_unicast_hosts => none,
  threadpools => false
}

es {'es-instance2':
  version => '1.0.1',
  xms => '128m',
  xmx => '128m',
  javahome => '/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25.x86_64',
  custom_config => ['node.tag: disk'],
  clustername => 'elasticsearch',
  nodedata => true,
  master => true,
  spmkey => 'none',
  multicast => true,
  es_unicast_hosts => none,
  threadpools => false
}