Skip to content

Commit

Permalink
Bump to 2.0.0 release of ES
Browse files Browse the repository at this point in the history
Add new checksums and default to v2.0.0 of Elasticsearch. RE: #384.
  • Loading branch information
martinb3 committed Nov 3, 2015
1 parent 94e4f22 commit 0122233
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ download_url.

|Name|Default|Other values|
|----|-------|------------|
|`default['elasticsearch']['version']`|`'2.0.0-rc1'`|[See list](attributes/default.rb).|
|`default['elasticsearch']['version']`|`'2.0.0'`|[See list](attributes/default.rb).|
|`default['elasticsearch']['install_type']`|`:tarball`|`:package`|
|`default['elasticsearch']['download_urls']['debian']`|`'https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-%s.deb'`|`%s` will be replaced with the version attribute above|
|`default['elasticsearch']['download_urls']['rhel']`|`'https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-%s.noarch.rpm'`|`%s` will be replaced with the version attribute above|
Expand Down
5 changes: 4 additions & 1 deletion attributes/default.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# elasticsearch version & install type
default['elasticsearch']['version'] = '2.0.0-rc1'
default['elasticsearch']['version'] = '2.0.0'
default['elasticsearch']['install_type'] = :tarball

# platform_family keyed download URLs
Expand Down Expand Up @@ -33,3 +33,6 @@
default['elasticsearch']['checksums']['2.0.0-rc1']['debian'] = '6ba92f96676932756ff7113f42d8946679e9be2144acece59bd79367568eb712'
default['elasticsearch']['checksums']['2.0.0-rc1']['rhel'] = '4dd4bdd1b4333f221bc5d2a2638bdc89282d57923842ce4c76607497abafb44d'
default['elasticsearch']['checksums']['2.0.0-rc1']['tar'] = 'cfd97bba0c49000a2799fffd359ec351f0ca7ef5f0a8c160920137db6b057784'
default['elasticsearch']['checksums']['2.0.0']['debian'] = 'f846cab2b7e99159650d38767249275c2fd5d3574fe700ef199cd1cb06ef28bf'
default['elasticsearch']['checksums']['2.0.0']['rhel'] = '6bd2d7840447836450d8781fffa9e296dfb257b523598c6e55433850e37feb25'
default['elasticsearch']['checksums']['2.0.0']['tar'] = 'b25f13f615337c2072964fd9fc5c7250f8a2a983b22198daf93548285d5d16df'
2 changes: 1 addition & 1 deletion test/integration/helpers/serverspec/install_examples.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

shared_examples_for 'elasticsearch install' do |args = {}|
dir = args[:dir] || (package? ? '/usr/share/elasticsearch' : '/usr/local')
version = args[:version] || '2.0.0-rc1'
version = args[:version] || '2.0.0'

expected_user = args[:user] || 'elasticsearch'
expected_group = args[:group] || expected_user || 'elasticsearch'
Expand Down

0 comments on commit 0122233

Please sign in to comment.