Update the elasticsearch cookbook
This commit is contained in:
@@ -13,7 +13,12 @@ elasticsearch_user 'elasticsearch'
|
||||
|
||||
elasticsearch_install 'elasticsearch' do
|
||||
type 'package'
|
||||
version '7.17.7'
|
||||
# The current version of the elasticsearch cookbook doesn't like versions
|
||||
# it doesn't know about. This would still be installing the default (7.17.9)
|
||||
# on a new machine, but it doesn't upgrade the package
|
||||
download_url 'https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.17.7-amd64.deb'
|
||||
# SHA256
|
||||
download_checksum '5c588d779023672ba4e315e7cd4db068ac60a38873a35973574a1cae858c2030'
|
||||
action :install
|
||||
end
|
||||
|
||||
@@ -21,8 +26,6 @@ elasticsearch_configure 'elasticsearch' do
|
||||
allocated_memory node["kosmos-mastodon"]["elasticsearch"]["allocated_memory"]
|
||||
|
||||
jvm_options %w(
|
||||
-Xms1536m
|
||||
-Xmx1536m
|
||||
-XX:+AlwaysPreTouch
|
||||
-server
|
||||
-Xss1m
|
||||
|
||||
Reference in New Issue
Block a user