Install Elasticsearch and enable it in Mastodon #97

Manually merged
raucao merged 4 commits from feature/96-elasticsearch_mastodon into master 2019-09-11 11:44:07 +00:00
Showing only changes of commit fdb4353ac0 - Show all commits

View File

@ -36,7 +36,7 @@ elasticsearch_install 'elasticsearch' do
end
elasticsearch_configure 'elasticsearch' do
allocated_memory '512m'
allocated_memory '1536m'
end
Review

Don't we at least want to set a cluster name and a node name as well?

Don't we at least want to set a cluster name and a node name as well?
Review

The node name is set automatically from the server's hostname so that is not needed. The default cluster name is elasticsearch, do you have a suggestion for a name?

The node name is set automatically from the server's hostname so that is not needed. The default cluster name is `elasticsearch`, do you have a suggestion for a name?
Review

Never mind then.

Never mind then.
elasticsearch_service 'elasticsearch'