Class elasticsearch::elasticsearch
In: /modules/elasticsearch/manifests/init.pp
Parent:

Define: elasticsearch

Elasticsearch module.

Parameters:

 Many. See init.pp.

Sample Usage :

 include elasticsearch

Resources

Resources

File["/etc/elasticsearch/elasticsearch.yml"]
   content => template("elasticsearch/elasticsearch.yml.erb")
   owner => "root"
   group => "root"
   mode => "0644"
   notify => Service["elasticsearch"]
   require => Package["elasticsearch"]
File["/etc/sysconfig/elasticsearch"]
   content => template("elasticsearch/sysconfig-elasticsearch.erb")
   owner => "root"
   group => "root"
   mode => "0644"
   notify => Service["elasticsearch"]

Configuration files

Package["elasticsearch"]
   ensure => installed

Typical main package and service

Service["elasticsearch"]
   enable => true
   ensure => running
   hasstatus => true
   require => Package["elasticsearch"]

[Validate]