Upgrade Elasticsearch from 6.x to latest 7.x

This commit is contained in:
Râu Cao
2022-11-06 13:56:15 +01:00
parent 5a94050555
commit 3620a43190
10 changed files with 77 additions and 14 deletions

View File

@@ -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.3.0')
attribute(:version, kind_of: String, default: '7.4.2')
# we allow a string or symbol for this value
attribute(:type, kind_of: String, equal_to: %w(package tarball repository), default: 'repository')