dwradcliffe / chef-solr

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

Fixed problem where solr install path becomes /opt/solr-4.6.1/solr-4.6.1/ #6

Closed mikeyhu closed 10 years ago

mikeyhu commented 10 years ago

The cookbook tries to untar the contents of the Apache Solr tgz files into a directory that it creates like: /opt/solr-4.6.1/

However, the tgz root contains this folder as well meaning that everything is installed into: /opt/solr-4.6.1/solr-4.6.1/

Using tar with the --strip 1 option avoids this and means that the scripts can then find the solr binaries etc.

alonextou commented 10 years ago

Why isn't this merged? Thanks for the fix @mikeyhu

dwradcliffe commented 10 years ago

I've been a bit busy - just had a baby. :)

I'll try to look at this tonight.

dwradcliffe commented 10 years ago

Thanks @mikeyhu! Sorry for the delay.

dwradcliffe commented 10 years ago

Released 0.1.3