elastic/cookbook-elasticsearch
elasticsearch_install 'my_es_installation' do
type :package # type of install
version "1.7.1"
package_url "https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.1.deb"
package_checksum "5832808f2a4c77de5af225db11da00138d9ea07a17f7b9212f4d2aac5317169d"
action :install # could be :remove as well
end
sha1
じゃなくて、sha256
でchecksum作りましょうという話。
macの場合は
$ shasum -a 256 ~/Downloads/elasticsearch-1.7.1.deb
的な感じで生成しましょうという話。