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
5cb08da4bc
commit
49a1274b70
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user