Skip to content

Commit

Permalink
Merge pull request #548 from xarem/feature/elasticsearch-version
Browse files Browse the repository at this point in the history
Custom ElasticSearch Version
  • Loading branch information
fideloper committed Apr 15, 2016
2 parents 10bbf5f + 8e70145 commit 92d2184
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ rabbitmq_password = "password"

sphinxsearch_version = "rel22" # rel20, rel21, rel22, beta, daily, stable

elasticsearch_version = "2.3.1" # 5.0.0-alpha1, 2.3.1, 2.2.2, 2.1.2, 1.7.5

Vagrant.configure("2") do |config|

Expand Down Expand Up @@ -257,7 +258,7 @@ Vagrant.configure("2") do |config|
##########

# Install Elasticsearch
# config.vm.provision "shell", path: "#{github_url}/scripts/elasticsearch.sh"
# config.vm.provision "shell", path: "#{github_url}/scripts/elasticsearch.sh", args: [elasticsearch_version]

# Install SphinxSearch
# config.vm.provision "shell", path: "#{github_url}/scripts/sphinxsearch.sh", args: [sphinxsearch_version]
Expand Down
2 changes: 1 addition & 1 deletion scripts/elasticsearch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
echo ">>> Installing Elasticsearch"

# Set some variables
ELASTICSEARCH_VERSION=2.1.1 # Check https://www.elastic.co/downloads/elasticsearch for latest version
ELASTICSEARCH_VERSION=$1 # Check https://www.elastic.co/downloads/elasticsearch for latest version

# Install prerequisite: Java
# -qq implies -y --force-yes
Expand Down

0 comments on commit 92d2184

Please sign in to comment.