Created
June 8, 2012 16:31
-
-
Save gordonm/2896685 to your computer and use it in GitHub Desktop.
elasticsearch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openjdk-6-jre: | |
pkg: | |
- installed | |
/tmp/elasticsearch.tar.gz: | |
file: | |
- managed | |
- source: https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.2.tar.gz | |
/tmp/servicewrapper.tar.gz: | |
file: | |
- managed | |
- source: http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master | |
/tmp/install_elasticsearch.sh: | |
file: | |
- managed | |
- source: salt://searchserver/elasticsearch.sh | |
- mode: 644 | |
install_elasticsearch: | |
cmd.run: | |
- require: | |
- file: /tmp/install_elasticsearch.sh | |
- unless: | |
- file: /usr/local/share/elasticsearch/bin/service/elasticsearch.conf | |
elasticsearch: | |
service: | |
- running | |
- require: | |
- cmd: install_elasticsearch | |
- pkg: openjdk-6-jre | |
- file: /usr/local/share/elasticsearch/bin/service/elasticsearch.conf | |
- file: /usr/local/share/elasticsearch/config/elasticsearch.yml | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment