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:
parent
ba7791374f
commit
9268dfc1d4
|
@ -24,6 +24,12 @@ class elasticsearch (
|
||||||
ensure => present,
|
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':
|
exec { 'get_elasticsearch_deb':
|
||||||
command => "wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-${version}.deb -O /tmp/elasticsearch-${version}.deb",
|
command => "wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-${version}.deb -O /tmp/elasticsearch-${version}.deb",
|
||||||
path => '/bin:/usr/bin',
|
path => '/bin:/usr/bin',
|
||||||
|
|
Loading…
Reference in New Issue