enrise / elasticsearch-formula Goto Github PK
View Code? Open in Web Editor NEWA Salt formula to install and configure ElasticSearch
A Salt formula to install and configure ElasticSearch
On the first provision of a machine that has elasticsearch enabled, the service won't start. After a second run it works just fine.
----------
ID: elasticsearch
Function: service.running
Result: False
Comment: Service elasticsearch has been enabled, and is dead
Started: 16:27:08.634264
Duration: 144.244 ms
Changes:
----------
elasticsearch:
True
Pillar:
elasticsearch:
version: 1.4.5
repo_version: 1.4
I recently noticed some unusual behaviour, when setting up ES on a fresh Ubuntu 14.04.02 LTS VM, the pkg requirement for "default-jre-headless" wasn't found. It's in the repo, and I could manually install it, but afterwards, the requisites not found issue still popped up. By commenting out
require:
pkg: default-jre-headless
in install.sls, it worked. It seems that somehow, the minion wasn't able to find or resolve the dependency. As a test, I removed default-jre-headless and elasticsearch, and did a new highstate with the pkg requirement commented out, and it resolved all by itself.
If there is no reason other than 'completeness' for that pkg to be required, I'd like to remove it (and put in a PR).
@Enrise/matchminds what do you think about moving/copying your implementation of installing Oracle 8 Java and the JRE extension into this formula?
Elastic advices (https://www.elastic.co/guide/en/elasticsearch/reference/current/_installation.html) to use this, so why not make it default.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.