dwradcliffe / chef-solr

Chef cookbook for solr.
http://community.opscode.com/cookbooks/solr
MIT License
23 stars 39 forks source link

use ark to download & install from tarball #28

Closed mburns closed 8 years ago

mburns commented 9 years ago

This PR is an attempt to use ark instead of manually downloading and extracting the tarball.

dwradcliffe commented 9 years ago

Couple small things with the tests. Also needs a rebase/squash I think.

mburns commented 8 years ago

Sorry about that, @eric-tucker. You can version lock to 0.5.0 for the time being. I agree, the ideal behavior is to not download a tarball if it already exists with a known checksum. Let me take a crack at fixing this next week.

et304383 commented 8 years ago

@mburns we went to version 0.6.0 for #35 I had put in. It seems that @dwradcliffe slipped this in at the same time which we didn't intend.

We worked around the issue by setting the value of "url" to a file:// value and downloading in advance so that ark doesn't go out to the internet. That allows us to continue to download our solr tarball from our private S3 location in advance using s3_file and an IAM role and continue to use this cookbook.

For now, it's probably safe to leave this as is. I'd rather not risk breaking our work-around again.