I've picked up a great little utility called wirbelsturm
(https://github.com/miguno/wirbelsturm). With it I've managed to automate
the creation of Vagrant backed VMs for a large chunk of my infrastructure
without much pain. Then I got to elasticsearch. I've tried a fe variations
of the below yaml, and cannot get elasticsearch to start.
So far I am manage to install elasticsearch successfully, but module seems like written in such a way that you can install multiple instances of elasticsearch on single node. But my requirement is to install on different hosts.
Hi @clement! Because the puppet module needs to also manage Elasticsearch data directories, the module assumes that you pass it the directory you want to store data in rather than defining path.data manually - if you give it the directory you want, it will handle creating the necessary yaml to give elasticsearch (and ensure the directory has right permissions, and so on).
You can do this either at the module level:
class { 'elasticsearch':
datadir => '/var/elasticsearch',
}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.