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 ba7791374f
commit 9268dfc1d4
1 changed files with 6 additions and 0 deletions

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',