problem configuring elasticsearch

asked 2014-08-25 12:03:19 -0600

mmars gravatar image

i'm using puppet module https://forge.puppetlabs.com/elastics... and can't get elasticsearch configured. the elasticsearch.yml files in /etc/elasticsearch are blank. is the configuration stored someplace else?

Here's the code I'm using.

  # elasticsearch
  class { 'elasticsearch' :
    ensure        => 'present',
    status        => 'running',
    package_url   => 'https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.13.noarch.rpm',
    java_install  => true,
  }

  elasticsearch::instance { 'hapi':
  config => {
    'node.name'                 => "$::fqdn",
    'node.master'               => 'true',
    'cluster.name'              => "$::fqdn",
    'http.max_content_length'   => '256mb',
  },
}
edit retag flag offensive close merge delete

Comments

Looking at the bottom of manifests/config.pp, it explicitly says /etc/elasticsearch/elasticsearch.yml should be absent. Can you find what you're looking for in /etc/elasticsearch/templates_import?

WhatsARanjit gravatar imageWhatsARanjit ( 2014-08-26 12:28:24 -0600 )edit