Permalink
Browse files

Merge pull request #68 from LearnZillion-Org/elastic_search_source

elastic_search: update download source for non_util recipe.
  • Loading branch information...
2 parents 95e9e39 + ae97826 commit 64bb6171883d1c0739fb1e4e75b80e97c8851d69 @acco acco committed Dec 31, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 cookbooks/elasticsearch/recipes/non_util.rb
@@ -7,7 +7,7 @@
if ['solo','app_master'].include?(node[:instance_role])
Chef::Log.info "Downloading Elasticsearch v#{node[:elasticsearch_version]} checksum #{node[:elasticsearch_checksum]}"
remote_file "/tmp/elasticsearch-#{node[:elasticsearch_version]}.zip" do
- source "https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-#{node[:elasticsearch_version]}.zip"
+ source "http://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-#{node[:elasticsearch_version]}.zip"
mode "0644"
checksum node[:elasticsearch_checksum]
not_if { File.exists?("/tmp/elasticsearch-#{node[:elasticsearch_version]}.zip") }
@@ -120,7 +120,7 @@
source "es.yml.erb"
backup 0
variables(:yaml_file => {
- node.engineyard.environment.framework_env => {
+ node.engineyard.environment.framework_env => {
:hosts => solo ? "127.0.0.1:9200" : "#{node[:master_app_server][:public_ip]}:9200" }})
end
end

0 comments on commit 64bb617

Please sign in to comment.