Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update es to 7.10.1 #753

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ elasticsearch_install 'elasticsearch'
```ruby
elasticsearch_install 'my_es_installation' do
type 'package' # type of install
version '7.5.1'
version '7.10.1'
action :install # could be :remove as well
end
```
Expand All @@ -177,7 +177,7 @@ end
```ruby
elasticsearch_install 'my_es_installation' do
type 'tarball' # type of install
version '7.5.1'
version '7.10.1'
action :install # could be :remove as well
end
```
Expand Down
20 changes: 20 additions & 0 deletions attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -211,3 +211,23 @@
default['elasticsearch']['checksums']['7.5.1']['debian'] = 'e566a88e15d8f85cf793c8f971b51eeae6465a0aa73f968ae4b1ee6aa71e4c20'
default['elasticsearch']['checksums']['7.5.1']['rhel'] = 'e6202bba2bd8644d23dcbef9ad7780c847dfe4ee699d3dc1804f6f62eed59c2d'
default['elasticsearch']['checksums']['7.5.1']['tarball'] = '37c317efaacf33a1bae250a59e822864750fddd8caf08c4b6a6c235ffa5f47e8'

default['elasticsearch']['checksums']['7.9.1']['debian'] = '661b20ddfe64d6d80a0f14e866e5168d3ba78d6da16c7b286b2b4b55916f90e2'
default['elasticsearch']['checksums']['7.9.1']['rhel'] = 'ff3018371115123f69a4fe11db2c259d38b69138398e63a901f6875d2e7706a6'
default['elasticsearch']['checksums']['7.9.1']['tarball'] = 'a1b43a6e29d3ca91d08366f64007ce812646e4775524214f66330d447a4c6e3c'

default['elasticsearch']['checksums']['7.9.2']['debian'] = '3b2e27045cb5a33014071c326e35f1969cf7be757bb532736183b48d288a9730'
default['elasticsearch']['checksums']['7.9.2']['rhel'] = 'e89e6fd1730eeb92c7f18fcf2123411a26ccf1111e8a961463f33dd7981a562a'
default['elasticsearch']['checksums']['7.9.2']['tarball'] = 'a003407b694510326fc7acf9b791367c96ebeda3c61c91200d17b836fa1ee47d'

default['elasticsearch']['checksums']['7.9.3']['debian'] = 'd45e20bfe736babf342ae06256d961fbfcdcf70e68646ef90753cd2aea8516a4'
default['elasticsearch']['checksums']['7.9.3']['rhel'] = '81b0746ea062015617aaf4b5298bb708435c9f3e7c8ffd91acad971666abbabc'
default['elasticsearch']['checksums']['7.9.3']['tarball'] = 'ae815dca86b0a567185f3f6d4fad047b2f8b6f38c1eee424291cc527261c1c5c'

default['elasticsearch']['checksums']['7.10.0']['debian'] = '803b653edcf2f24b2fc6fd8b6a8ab7fe1f8fcd994900cca7b10ec6ef1c02e059'
default['elasticsearch']['checksums']['7.10.0']['rhel'] = 'b5785a57551c2ca805c089f93cd2599089d2e5640fd84532ea9f999ed45edaf3'
default['elasticsearch']['checksums']['7.10.0']['tarball'] = 'e8848e18969823c146211caabb502892c82823fecac796b39cdef7f4574e96b9'

default['elasticsearch']['checksums']['7.10.1']['debian'] = 'fca28a80049e89fc738b75cf19f998f682c754df67df96615156d1372d08fcde'
default['elasticsearch']['checksums']['7.10.1']['rhel'] = '54b974980c5f279969954ca3b96a4df0801e62457406ee34c06c02e182aceb2f'
default['elasticsearch']['checksums']['7.10.1']['tarball'] = 'ee38a952219b5247e0670532d6de31707d42a4b58aca49b28bddf37aab53c2e4'
2 changes: 1 addition & 1 deletion libraries/resource_install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class ElasticsearchCookbook::InstallResource < Chef::Resource::LWRPBase

# if this version parameter is not set by the caller, we look at
# `attributes/default.rb` for a default value to use, or we raise
attribute(:version, kind_of: String, default: '7.5.1')
attribute(:version, kind_of: String, default: '7.10.1')

# we allow a string or symbol for this value
attribute(:type, kind_of: String, equal_to: %w(package tarball repository), default: 'repository')
Expand Down
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] || '/usr/share'
version = args[:version] || '7.5.1'
version = args[:version] || '7.10.1'

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