Install curl on elasticsearch nodes.

We rely on curl to query the elasticsearch api for cluster state,
deleting indexes and so on. Ensure it is installed on the elasticsearch
nodes.

Change-Id: I843c6be65e5750856cb0b68f68eb7fac47e04e29
This commit is contained in:
Clark Boylan 2014-03-03 10:30:27 -08:00
parent 5cb08da4bc
commit 49a1274b70

View File

@ -24,6 +24,12 @@ class elasticsearch (
ensure => present,
}
# Curl is handy for talking to the ES API on localhost. Allows for
# querying cluster state and deleting indexes and so on.
package { 'curl':
ensure => present,
}
exec { 'get_elasticsearch_deb':
command => "wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-${version}.deb -O /tmp/elasticsearch-${version}.deb",
path => '/bin:/usr/bin',