Skip to content

Commit

Permalink
Fix install package to work with custom download_checksum
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Schroeder <[email protected]>
  • Loading branch information
tschroeder-zendesk committed Dec 21, 2023
1 parent 55ff86f commit 3aa30cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Fix property references in install resource

## 5.1.9 - *2023-10-31*

## 5.1.8 - *2023-10-31*
Expand Down
6 changes: 3 additions & 3 deletions resources/install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
elasticsearch_install_package "ElasticSearch #{new_resource.version}" do
version new_resource.version
instance_name new_resource.instance_name
download_url download_url
download_checksum download_checksum
download_url new_resource.download_url
download_checksum new_resource.download_checksum
end
when 'repository'
elasticsearch_install_repository "ElasticSearch #{new_resource.version}" do
Expand All @@ -42,6 +42,6 @@
action :remove
end
else
raise "#{install_type} is not a valid install type"
raise "#{new_resource.type} is not a valid install type"
end
end

0 comments on commit 3aa30cc

Please sign in to comment.