Update the elasticsearch cookbook
This commit is contained in:
12
cookbooks/elasticsearch/resources/partial/_common.rb
Normal file
12
cookbooks/elasticsearch/resources/partial/_common.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
include ElasticsearchCookbook::Helpers
|
||||
include ElasticsearchCookbook::VersionHelpers
|
||||
|
||||
property :instance_name,
|
||||
String
|
||||
|
||||
property :version,
|
||||
String,
|
||||
default: '7.17.9'
|
||||
|
||||
property :package_options,
|
||||
String
|
||||
7
cookbooks/elasticsearch/resources/partial/_package.rb
Normal file
7
cookbooks/elasticsearch/resources/partial/_package.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
property :download_url,
|
||||
String,
|
||||
default: lazy { default_download_url(new_resource.version) }
|
||||
|
||||
property :download_checksum,
|
||||
String,
|
||||
default: lazy { default_download_checksum(new_resource.version)[checksum_platform] }
|
||||
3
cookbooks/elasticsearch/resources/partial/_repository.rb
Normal file
3
cookbooks/elasticsearch/resources/partial/_repository.rb
Normal file
@@ -0,0 +1,3 @@
|
||||
property :enable_repository_actions,
|
||||
[true, false],
|
||||
default: true
|
||||
Reference in New Issue
Block a user